/**
 * 
 */
package uk.ac.dmu.iesd.cascade.util.profilegenerators;

/**
 * @author jsnape
 *
 */
public abstract class MSConstArrays {
	
	/*
	 * constant arrays from the peak.m file
	 */

	public static int[]trend_year_11= new int[]{1970,1975,1980,1985,1990,1995,2000,2005,2010,2015,2020};
	public static double[] lighting_trend=new double[] {0.243, 0.276, 0.309, 0.335, 0.358, 0.374, 0.395, 0.424, 0.449, 0.488, 0.527};
	public static double[] misc_trend=new double[] {0.435, 0.487, 0.539, 0.592, 0.644, 0.696, 0.748, 0.8, 0.853, 0.905, 0.957};

	public static int[] trend_year_12= new int[] {1970, 1975, 1980, 1985, 1990, 1995, 1998,2000 ,2005, 2010, 2015, 2020};
	public static double[] water_trend_E7=new double[] {0.95, 0.99, 1.01, 1.04, 1.05, 1.08, 1.06, 1.05, 1.03, 1.02, 1.02, 1.01};
	public static double[] water_trend_UR=new double[] {0.58, 0.6, 0.61, 0.63, 0.63, 0.65, 0.64, 0.63, 0.62, 0.62, 0.62, 0.61};
	public static double[] fridge_trend=new double[] {0.092, 0.09, 0.088, 0.084, 0.078, 0.071, 0.065, 0.062, 0.054, 0.049, 0.045, 0.042};
	public static double[] freezer_trend=new double[] {0, 0.111, 0.108, 0.106, 0.104, 0.101, 0.099, 0.096, 0.089, 0.082, 0.076, 0.071};
	public static double[] fridge_freezer_trend=new double[] {0, 0.143, 0.14, 0.136, 0.133, 0.129, 0.127, 0.124, 0.114, 0.105, 0.097, 0.091};
	public static double[] washer_trend =new double[] {0.307, 0.287, 0.272, 0.269, 0.258, 0.239, 0.227, 0.22, 0.207, 0.197, 0.189, 0.183};
	public static double[] dryer_trend =new double[] {0.241, 0.237, 0.239, 0.3, 0.349, 0.349, 0.344, 0.342, 0.332, 0.321, 0.307, 0.294};
	public static double[] dish_trend=new double[] {0.884, 0.872, 0.854, 0.79, 0.657, 0.573, 0.535, 0.514, 0.46, 0.413, 0.385, 0.374};
	public static double[] water_own=new double[] {0.6, 0.65, 0.67, 0.67, 0.66, 0.64, 0.63, 0.63, 0.61, 0.60, 0.58, 0.57};
	public static double[] water_summer=new double[] {0.74, 0.68, 0.535, 0.433, 0.331, 0.273, 0.262, 0.258, 0.257, 0.252, 0.246, 0.239};
	public static double[] water_allyear=new double[] {0.145, 0.16, 0.151, 0.149, 0.148, 0.148, 0.148, 0.149, 0.149, 0.149, 0.149, 0.149};

	public static int [] trend_year_7= new int[]{1970, 1980, 1990, 1996, 2000, 2010, 2020};
	public static double[] cooker_trend={1.59, 1.408, 1.002, 0.796, 0.772, 0.788, 0.78};
	public static double[] kettle_trend={0.227, 0.251, 0.268, 0.252, 0.259, 0.299, 0.323};
	public static double[] microwave_trend={0, 0.136, 0.163, 0.159, 0.163, 0.202, 0.225};
	public static double[] oven_hob_trend={0.27, 0.33, 0.40, 0.48, 0.51, 0.56, 0.60};

	//for cooking from cooking.m file

	//weekday parameters
	public static double[] cooking_sinescale_wkdays = new double[] {0, 0.003, 0, 0, 0.001, 0, 0, 0, 0.001, 0.001, 0.001, 0.004, 0.009, 0.007, 0.005, 0, 0, 0, 0.007, 0.006, 0.008, 0.005, 0.011, 0.026, 0.039, 0.028, 0.031, 0.046, 0.042, 0.039, 0.035, 0.039, 0.041, 0.031, 0.048, 0.022, 0.034, 0.003, 0.02, 0.019, 0.007, 0.004, 0.004, 0.005, 0.006, 0, 0, 0};
	public static double[] cooking_sinephase_wkdays = new double[] {0, 4.6, 0, 0, 4.6, 0, 0, 0, 4.6, 4.2, 4.2, 5.7, 5.2, 5.9, 6, 0, 0, 0, 3.3, 3.4, 4.7, 4.3, 4.8, 4.1, 4.2, 4.8, 4.5, 4, 3.9, 3.9, 4, 4, 4.2, 4.1, 5.8, 5.4, 6.1, 1.3, 3, 2.9, 2.1, 2.9, 1, 0, 6.2, 0, 0, 0};
	public static double[] cooking_const_wkdays = new double[] {0.004, 0.004, 0.003, 0.002, 0.002, 0.002, 0.002, 0.002, 0.002, 0.002, 0.002, 0.005, 0.008, 0.009, 0.016, 0.046, 0.035, 0.039, 0.04, 0.04, 0.052, 0.06, 0.078, 0.164, 0.226, 0.232, 0.158, 0.095, 0.069, 0.064, 0.069, 0.093, 0.148, 0.228, 0.34, 0.261, 0.229, 0.182, 0.138, 0.083, 0.056, 0.034, 0.024, 0.021, 0.014, 0.009, 0.006, 0.007};
	public static double[] cooking_stddev_wkdays = new double[] {0.008, 0.011, 0.015, 0.005, 0.005, 0.004, 0.005, 0.005, 0.005, 0.004, 0.005, 0.007, 0.008, 0.012, 0.016, 0.028, 0.032, 0.037, 0.038, 0.039, 0.054, 0.057, 0.069, 0.099, 0.099, 0.113, 0.09, 0.076, 0.062, 0.062, 0.064, 0.074, 0.081, 0.106, 0.125, 0.121, 0.118, 0.098, 0.088, 0.066, 0.053, 0.038, 0.03, 0.028, 0.02, 0.014, 0.013, 0.018};

	//saturday parameters
	public static double[] cooking_sinescale_sat = new double[] {0.004, 0.001, 0.003, 0, 0.007, 0, 0, 0.004, 0.002, 0.002, 0.003, 0, 0.003, 0.002, 0.005, 0.012, 0.013, 0.022, 0.01, 0.02, 0.024, 0.006, 0.006, 0.017, 0.023, 0.078, 0.046, 0.024, 0.054, 0.032, 0.028, 0.032, 0.045, 0.069, 0.065, 0.024, 0.057, 0.068, 0.019, 0.027, 0.023, 0.005, 0.006, 0.005, 0.007, 0.007, 0.004, 0};
	public static double[] cooking_sinephase_sat = new double[] {4.1, 4, 5.7, 0, 0.5, 0, 0, 5.8, 5.8, 5.8, 5.8, 0, 5.9, 5.9, 5.9, 5.8, 5.2, 3.5, 3.5, 3.9, 3.5, 0.1, 1, 3.8, 4.7, 5, 5.2, 4.5, 4.7, 4.9, 4.1, 4.5, 4.3, 4.8, 4.9, 4.4, 5, 5.7, 0, 0.6, 5.6, 5.3, 5.1, 5.4, 5.8, 4.9, 4.6, 0};
	public static double[] cooking_const_sat = new double[] {0.009, 0.005, 0.004, 0.003, 0.004, 0.002, 0.006, 0.004, 0.002, 0.003, 0.004, 0.003, 0.003, 0.004, 0.012, 0.041, 0.056, 0.059, 0.06, 0.053, 0.068, 0.079, 0.104, 0.2, 0.266, 0.316, 0.2, 0.103, 0.066, 0.046, 0.049, 0.065, 0.147, 0.204, 0.277, 0.216, 0.209, 0.215, 0.2, 0.107, 0.056, 0.027, 0.016, 0.013, 0.023, 0.014, 0.01, 0.007};
	public static double[] cooking_stddev_sat = new double[] {0.013, 0.011, 0.008, 0.006, 0.015, 0.004, 0.016, 0.015, 0.005, 0.01, 0.008, 0.007, 0.009, 0.01, 0.014, 0.033, 0.032, 0.036, 0.05, 0.039, 0.062, 0.065, 0.073, 0.099, 0.097, 0.124, 0.083, 0.065, 0.053, 0.039, 0.048, 0.062, 0.081, 0.099, 0.117, 0.084, 0.108, 0.092, 0.107, 0.074, 0.055, 0.033, 0.022, 0.015, 0.028, 0.021, 0.018, 0.012};

	//sunday parameters
	public static double[] cooking_sinescale_sun = new double[] {0.005, 0.005, 0, 0, 0, 0, 0.005, 0, 0, 0, 0, 0, 0.002, 0, 0.007, 0.032, 0.004, 0.012, 0.005, 0.06, 0.133, 0.122, 0.154, 0.178, 0.148, 0.168, 0.081, 0.057, 0.033, 0.021, 0.04, 0.008, 0.017, 0.044, 0.068, 0.037, 0.004, 0.025, 0.02, 0.005, 0.016, 0.011, 0.007, 0, 0.015, 0.005, 0.009, 0.007};
	public static double[] cooking_sinephase_sun = new double[] {0.8, 4.6, 0, 0, 0, 0, 1.6, 0, 0, 0, 0, 0, 2.5, 0, 0.7, 6.2, 0.5, 2.8, 3.2, 3.2, 3.6, 3.8, 3.7, 4, 4.5, 4.8, 4.9, 5.2, 4.8, 5.4, 3.4, 4.9, 5.1, 4.9, 4.4, 4.8, 6.2, 0.6, 0.9, 2.1, 2.7, 1.7, 0.5, 0, 5.4, 4.7, 4.5, 4.2};
	public static double[] cooking_const_sun = new double[] {0.004, 0.005, 0.003, 0.004, 0.002, 0.001, 0.005, 0.002, 0.001, 0.001, 0.003, 0.002, 0.003, 0.003, 0.011, 0.046, 0.071, 0.066, 0.1, 0.152, 0.241, 0.232, 0.299, 0.504, 0.585, 0.594, 0.386, 0.256, 0.157, 0.128, 0.138, 0.171, 0.213, 0.261, 0.266, 0.278, 0.245, 0.189, 0.144, 0.094, 0.049, 0.043, 0.022, 0.019, 0.016, 0.005, 0.009, 0.007};
	public static double[] cooking_stddev_sun = new double[] {0.016, 0.014, 0.008, 0.009, 0.004, 0.003, 0.018, 0.004, 0.002, 0.002, 0.006, 0.004, 0.005, 0.008, 0.015, 0.033, 0.061, 0.055, 0.071, 0.105, 0.09, 0.081, 0.095, 0.123, 0.144, 0.126, 0.145, 0.105, 0.08, 0.075, 0.078, 0.083, 0.082, 0.091, 0.128, 0.113, 0.121, 0.102, 0.089, 0.075, 0.051, 0.047, 0.027, 0.026, 0.019, 0.011, 0.017, 0.015};
	
	
	// for cooling from cooling.m file

	public static double[] scale_fridge = new double[] {0.113, 0.106, 0.083, 0.100, 0.092, 0.090, 0.095, 0.085, 0.085, 0.084, 0.072, 0.084, 0.081, 0.079, 0.083, 0.092, 0.098, 0.084, 0.093, 0.101, 0.101, 0.092, 0.105, 0.104, 0.107, 0.115, 0.114, 0.121, 0.118, 0.120, 0.110, 0.119, 0.122, 0.118, 0.119, 0.119, 0.129, 0.124, 0.122, 0.116, 0.107, 0.108, 0.100, 0.104, 0.107, 0.110, 0.110, 0.100}; 
	public static double[] phase_fridge = new double[] {1.9, 1.9, 1.9, 2.0, 2.0, 2.0, 2.0, 2.0, 2.1, 2.0, 2.1, 2.1, 2.0, 2.1, 2.2, 2.2, 2.2, 2.0, 2.0, 2.1, 2.1, 2.1, 2.1, 2.1, 2.1, 2.1, 2.1, 2.1, 2.0, 2.0, 2.0, 2.0, 2.0, 2.0, 2.1, 2.1, 2.1, 2.0, 2.1, 2.1, 2.1, 2.1, 2.0, 2.0, 2.0, 2.0, 2.1, 2.1}; 
	public static double[] const_fridge  = new double[] {0.441, 0.447, 0.424, 0.433, 0.428, 0.423, 0.415, 0.406, 0.405, 0.409, 0.397, 0.399, 0.403, 0.403, 0.421, 0.443, 0.451, 0.449, 0.452, 0.453, 0.451, 0.456, 0.459, 0.460, 0.470, 0.490, 0.503, 0.482, 0.485, 0.481, 0.483, 0.488, 0.495, 0.506, 0.529, 0.545, 0.549, 0.549, 0.546, 0.532, 0.519, 0.510, 0.510, 0.502, 0.503, 0.493, 0.472, 0.458}; 
	public static double[] stddev_fridge = new double[] {0.064, 0.065, 0.063, 0.063, 0.062, 0.060, 0.060, 0.063, 0.058, 0.061, 0.058, 0.058, 0.057, 0.056, 0.063, 0.062, 0.060, 0.062, 0.064, 0.059, 0.063, 0.068, 0.064, 0.071, 0.071, 0.079, 0.076, 0.079, 0.077, 0.077, 0.076, 0.077, 0.070, 0.079, 0.081, 0.086, 0.078, 0.076, 0.077, 0.076, 0.071, 0.070, 0.066, 0.067, 0.066, 0.068, 0.069, 0.065}; 
	
	public static double[] scale_freezer = new double[] {0.12, 0.1, 0.1, 0.11, 0.1, 0.11, 0.1, 0.11, 0.1, 0.1, 0.1, 0.1, 0.1, 0.1, 0.1, 0.1, 0.1, 0.09, 0.11, 0.1, 0.11, 0.11, 0.1, 0.11, 0.11, 0.12, 0.11, 0.12, 0.11, 0.12, 0.13, 0.14, 0.12, 0.13, 0.12, 0.13, 0.12, 0.13, 0.13, 0.12, 0.12, 0.12, 0.12, 0.12, 0.11, 0.11, 0.11, 0.11}; 
	public static double[] const_freezer = new double[] {0.658, 0.66, 0.643, 0.652, 0.65, 0.643, 0.644, 0.64, 0.637, 0.632, 0.631, 0.631, 0.629, 0.625, 0.631, 0.633, 0.636, 0.638, 0.643, 0.65, 0.65, 0.657, 0.659, 0.669, 0.674, 0.682, 0.688, 0.69, 0.689, 0.686, 0.692, 0.693, 0.696, 0.698, 0.703, 0.71, 0.713, 0.707, 0.709, 0.699, 0.698, 0.695, 0.69, 0.685, 0.681, 0.676, 0.671, 0.67}; 
	public static double[] stddev_freezer = new double[] {0.054, 0.052, 0.052, 0.053, 0.055, 0.056, 0.051, 0.053, 0.051, 0.055, 0.053, 0.048, 0.055, 0.051, 0.048, 0.055, 0.051, 0.054, 0.052, 0.052, 0.053, 0.051, 0.056, 0.051, 0.051, 0.055, 0.054, 0.058, 0.056, 0.056, 0.055, 0.059, 0.054, 0.058, 0.053, 0.055, 0.056, 0.057, 0.057, 0.055, 0.059, 0.058, 0.053, 0.058, 0.053, 0.052, 0.054, 0.054}; 
	
	public static double[] scale_fridge_freezer = new double[] {0.11, 0.1, 0.1, 0.1, 0.11, 0.11, 0.1, 0.11, 0.1, 0.1, 0.1, 0.1, 0.11, 0.11, 0.11, 0.11, 0.1, 0.11, 0.1, 0.1, 0.11, 0.11, 0.11, 0.11, 0.11, 0.11, 0.11, 0.11, 0.12, 0.12, 0.12, 0.12, 0.12, 0.13, 0.12, 0.12, 0.12, 0.12, 0.12, 0.12, 0.12, 0.11, 0.12, 0.11, 0.11, 0.12, 0.11, 0.11}; 
	public static double[] phase_fridge_freezer = new double[] {2.25, 2.25, 2.25, 2.39, 2.44, 2.42, 2.42, 2.45, 2.43, 2.43, 2.43, 2.49, 2.42, 2.45, 2.37, 2.35, 2.34, 2.39, 2.38, 2.35, 2.41, 2.37, 2.38, 2.34, 2.35, 2.28, 2.29, 2.28, 2.28, 2.28, 2.25, 2.28, 2.26, 2.27, 2.3, 2.25, 2.26, 2.24, 2.29, 2.3, 2.27, 2.36, 2.32, 2.31, 2.42, 2.4, 2.4, 2.36}; 
	public static double[] const_fridge_freezer = new double[] {0.615, 0.618, 0.589, 0.603, 0.601, 0.597, 0.594, 0.589, 0.584, 0.582, 0.584, 0.581, 0.58, 0.584, 0.594, 0.604, 0.611, 0.61, 0.612, 0.615, 0.616, 0.617, 0.621, 0.631, 0.642, 0.657, 0.668, 0.659, 0.659, 0.657, 0.652, 0.66, 0.665, 0.67, 0.677, 0.686, 0.694, 0.688, 0.684, 0.673, 0.672, 0.663, 0.657, 0.654, 0.654, 0.651, 0.639, 0.625}; 
	public static double[] stddev_fridge_freezer = new double[] {0.05, 0.049, 0.052, 0.049, 0.046, 0.047, 0.049, 0.048, 0.046, 0.049, 0.043, 0.046, 0.047, 0.048, 0.048, 0.048, 0.047, 0.047, 0.045, 0.047, 0.047, 0.051, 0.048, 0.053, 0.051, 0.052, 0.056, 0.056, 0.054, 0.056, 0.056, 0.055, 0.057, 0.055, 0.057, 0.055, 0.054, 0.056, 0.054, 0.053, 0.049, 0.051, 0.049, 0.053, 0.049, 0.052, 0.048, 0.048}; 
	
	//For lighting from lighting.m file
	public static double[] lighting_min_wkdays = new double[] {0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0.051, 0.08, 0.095, 0.098, 0.077, 0.064, 0.06, 0.057, 0.057, 0.06, 0.057, 0.054, 0.056, 0.059, 0.055, 0.054, 0.054, 0.058, 0.064, 0.073, 0.083, 0.087, 0.087, 0.094, 0.115, 0.127, 0.125, 0.149, 0, 0, 0, 0, 0, 0, 0}; 
	public static double[] lighting_max_wkdays = new double[] {1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0.091, 0.169, 0.318, 0.452, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0.805, 0.826, 0.847, 0.848, 0.839, 0.813, 0.789, 0.782, 0.759, 0.743, 0.706, 0.623, 1, 1}; 
	public static double[] lighting_sinescale1_wkdays = new double[] {0, 0, 0, 0, 0, 0, 0, 0, 0, 0.006, 0.005, 0.009, 0.015, 0.114, 0.035, 0.026, 0.063, 0.048, 0.021, 0.022, 0.031, 0.018, 0.027, 0.017, 0.009, 0.019, 0.01, 0.013, 0.018, 0.029, 0.054, 0.188, 0.351, 0.607, 0.564, 0.56, 0.476, 0.439, 0.37, 0.256, 0.37, 0.473, 0.39, 0.375, 0.172, 0.083, 0.049, 0.035}; 
	public static double[] lighting_sinephase1_wkdays = new double[] {0, 0, 0, 0, 0, 0, 0, 0, 0, 0.9, 0.5, 4, 4.2, 4.7, 4.4, 5.8, 4.9, 4.6, 5.6, 5.5, 4.6, 5, 4.7, 4.7, 4.7, 5.6, 6.1, 0, 5.1, 5.8, 5.1, 4.9, 4.9, 4.9, 4.9, 4.8, 4.7, 4.7, 4.7, 4.7, 4.7, 4.7, 4.7, 4.8, 4.8, 5.2, 5.3, 5.3}; 
	public static double[] lighting_sinescale2_wkdays = new double[] {0.011, 0.004, 0.003, 0.006, 0.008, 0.009, 0.006, 0.005, 0.005, 0.01, 0.013, 0.007, 0.045, 0.03, 0.295, 0.498, 0.453, 0.352, 0.255, 0.206, 0.182, 0.164, 0.153, 0.159, 0.139, 0.145, 0.146, 0.145, 0.147, 0.153, 0.184, 0.269, 0.347, 0.107, 0.157, 0.333, 0.554, 0.728, 0.705, 0.46, 0.322, 0.188, 0.322, 0.012, 0, 0, 0, 0}; 
	public static double[] lighting_sinephase2_wkdays = new double[] {5.8, 5.9, 4.3, 3.7, 3.9, 4, 3.8, 3.9, 3.9, 3.6, 3.5, 4.1, 4.7, 4.3, 4.2, 4.1, 4.2, 4.2, 4.1, 4.1, 4.2, 4.1, 4.2, 4.2, 4.2, 4.2, 4.2, 4.1, 4.2, 4, 4.1, 4.1, 4, 4.4, 4.3, 4.5, 4.5, 4.5, 4.5, 4.5, 4.5, 4.5, 4.7, 3.5, 0, 0, 0, 0}; 
	public static double[] lighting_const_wkdays = new double[] {0.263, 0.186, 0.14, 0.11, 0.092, 0.079, 0.069, 0.065, 0.062, 0.057, 0.058, 0.069, 0.111, 0.149, 0.092, 0.008, -0.028, -0.086, -0.039, -0.027, -0.028, -0.022, -0.025, -0.03, -0.009, -0.023, -0.013, -0.007, -0.016, -0.018, -0.042, -0.141, -0.224, -0.016, 0.129, 0.192, 0.247, 0.326, 0.459, 0.581, 0.712, 0.823, 0.98, 0.801, 0.697, 0.59, 0.472, 0.366}; 
	public static double[] lighting_stddev_min_wkdays = new double[] {0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0.013, 0.025, 0.045, 0.139, 0.024, 0.024, 0.027, 0.026, 0.027, 0.029, 0.029, 0.024, 0.03, 0.032, 0.024, 0.031, 0.025, 0.026, 0.031, 0.04, 0.046, 0.04, 0.038, 0.042, 0.054, 0.069, 0.054, 0.089, 0, 0, 0, 0, 0, 0, 0}; 
	public static double[] lighting_stddev_max_wkdays = new double[] {0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0.017, 0.035, 0.063, 0.133, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0.06, 0.064, 0.063, 0.06, 0.058, 0.05, 0.053, 0.056, 0.063, 0.044, 0.043, 0.045, 0, 0}; 
	public static double[] lighting_stddev_sine_wkdays = new double[] {0.049, 0.04, 0.035, 0.026, 0.022, 0.018, 0.016, 0.014, 0.014, 0.013, 0.014, 0.014, 0.013, 0.026, 0.058, 0.072, 0.065, 0.061, 0.062, 0.056, 0.053, 0.049, 0.041, 0.04, 0.042, 0.042, 0.041, 0.047, 0.047, 0.053, 0.064, 0.078, 0.082, 0.069, 0.085, 0.103, 0.092, 0.079, 0.086, 0.079, 0.055, 0.068, 0.055, 0.057, 0.042, 0.042, 0.047, 0.048};

	// Lighting demand parameters for Saturdays
	public static double[] lighting_min_sat = new double[] {0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0.049, 0.054, 0.065, 0.075, 0.077, 0.087, 0.075, 0.069, 0.065, 0.069, 0.062, 0.059, 0.064, 0.063, 0.052, 0.05, 0.049, 0.045, 0.049, 0.061, 0.069, 0.072, 0.072, 0.086, 0.097, 0.126, 0.141, 0.174, 0, 0, 0, 0, 0, 0, 0}; 
	public static double[] lighting_max_sat = new double[] {1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0.081, 0.102, 0.153, 0.211, 0.275, 0.275, 0.275, 0.275, 0.275, 0.275, 0.275, 0.275, 0.275, 0.275, 0.275, 0.275, 0.275, 0.275, 0.275, 0.275, 0.275, 0.275, 0.76, 0.789, 0.819, 0.816, 0.797, 0.769, 0.741, 0.719, 0.703, 0.681, 0.642, 0.605, 0.552, 0.507}; 
	public static double[] lighting_sinescale1_sat = new double[] {0.042, 0.034, 0.026, 0.021, 0.018, 0.014, 0.008, 0.006, 0.005, 0.004, 0.006, 0.007, 0.014, 0.039, 0.097, 0.066, 0.019, 0.041, 0.037, 0.038, 0.045, 0.057, 0.058, 0.06, 0.056, 0.054, 0.045, 0.044, 0.054, 0.051, 0.092, 0.165, 0.308, 0.605, 0.609, 0.48, 0.47, 0.63, 0.59, 0.54, 0.55, 0.353, 0.308, 0.261, 0.206, 0.2, 0.189, 0.091}; 
	public static double[] lighting_sinephase1_sat = new double[] {5.7, 5.8, 5.6, 5.4, 5.5, 5.5, 5.9, 5.7, 5.6, 5.5, 5.6, 5.6, 4, 4.3, 4.5, 5.3, 5.6, 4.6, 5.7, 5, 4.6, 4.9, 4.9, 5.2, 5.3, 5.3, 5.1, 5.1, 5.5, 5.5, 5.4, 5.1, 5, 4.9, 5, 5.1, 5.3, 5.3, 5.6, 5.6, 5.6, 5.6, 5.6, 5.6, 5.6, 5.6, 5.7, 5.6}; 
	public static double[] lighting_sinescale2_sat = new double[] {0.013, 0.011, 0.007, 0.006, 0.009, 0.006, 0.006, 0.003, 0.004, 0.004, 0.009, 0.008, 0.045, 0.078, 287, 0.29, 0.299, 0.254, 0.206, 0.203, 0.212, 0.09, 0.087, 0.084, 0.087, 0.09, 0.093, 0.093, 0.099, 0.122, 0.126, 0.132, 0.317, 0.107, 0.209, 0.439, 0.66, 0.89, 1.31, 0.91, 0.76, 0.44, 0.35, 0.247, 0.142, 0.118, 0.107, 0.048}; 
	public static double[] lighting_sinephase2_sat = new double[] {3.9, 3.4, 3.4, 3.4, 3.1, 3.2, 3.5, 3.2, 3.2, 3.4, 3.4, 3.6, 4.7, 4.8, 4.2, 4.1, 4.1, 4.3, 4.1, 4.2, 4.3, 4.2, 4.2, 4.2, 4.2, 4.1, 4.2, 4.2, 4.2, 4, 4, 4.2, 4.1, 4.4, 4.1, 4.1, 4.1, 4.1, 4.1, 4.1, 4, 4, 4, 4, 4, 3.8, 3.5, 3.3}; 
	public static double[] lighting_const_sat = new double[] {0.312, 0.224, 0.163, 0.128, 0.106, 0.092, 0.081, 0.072, 0.066, 0.063, 0.061, 0.063, 0.097, 0.111, 0.031, 0.004, -0.019, 0.003, 0.02, 0.01, -0.002, 0.054, 0.053, 0.049, 0.044, 0.044, 0.049, 0.058, 0.051, 0.045, 0.042, 0.032, -0.115, -0.015, 0.104, 0.156, 0.204, 0.34, 0.348, 0.64, 0.75, 0.701, 0.703, 0.686, 0.669, 0.63, 0.565, 0.442}; 
	public static double[] lighting_stddev_min_sat = new double[] {0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0.014, 0.016, 0.02, 0.021, 0.024, 0.025, 0.022, 0.023, 0.022, 0.027, 0.028, 0.023, 0.026, 0.028, 0.019, 0.019, 0.021, 0.019, 0.027, 0.043, 0.036, 0.037, 0.051, 0.044, 0.06, 0.054, 0.065, 0.094, 0, 0, 0, 0, 0, 0, 0}; 
	public static double[] lighting_stddev_max_sat = new double[] {0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0.019, 0.025, 0.025, 0.037, 0.032, 0.032, 0.032, 0.032, 0.032, 0.032, 0.032, 0.032, 0.032, 0.032, 0.032, 0.032, 0.032, 0.032, 0.032, 0.032, 0.032, 0.032, 0.036, 0.042, 0.05, 0.055, 0.054, 0.05, 0.054, 0.047, 0.049, 0.049, 0.051, 0.053, 0.056, 0.037}; 
	public static double[] lighting_stddev_sine_sat = new double[] {0.032, 0.03, 0.028, 0.026, 0.024, 0.02, 0.017, 0.016, 0.015, 0.015, 0.014, 0.014, 0.015, 0.012, 0.006, 0.032, 0.044, 0.039, 0.045, 0.059, 0.049, 0.048, 0.049, 0.039, 0.038, 0.043, 0.056, 0.048, 0.051, 0.052, 0.055, 0.071, 0.072, 0.064, 0.036, 0.042, 0.043, 0.055, 0.023, 0.042, 0.071, 0.07, 0.068, 0.059, 0.051, 0.038, 0.042, 0.05}; 

	// Lighting demand parameters for Sundays
	public static double[] lighting_min_sun = new double[] {0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0.061, 0.066, 0.069, 0.072, 0.075, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0.06, 0.071, 0.078, 0.081, 0.085, 0.094, 0.109, 0.14, 0.181, 0.186, 0.195, 0, 0, 0, 0, 0, 0}; 
	public static double[] lighting_max_sun = new double[] {1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0.799, 0.822, 0.819, 0.822, 0.798, 0.762, 0.747, 0.737, 0.708, 0.66, 1, 1, 1}; 
	public static double[] lighting_sinescale1_sun = new double[] {0.056, 0.046, 0.026, 0.012, 0.008, 0.004, 0.008, 0.004, 0.004, 0.003, 0.001, 0.001, 0.003, 0, 0.017, 0.022, 0.043, 0.056, 0.048, 0.051, 0.062, 0.083, 0.078, 0.08, 0.078, 0.075, 0.078, 0.074, 0.078, 0.082, 0.088, 0.16, 0.301, 0.477, 0.409, 0.509, 0.421, 0.657, 0.829, 0.831, 0.525, 0.525, 0.412, 0.06, 0.06, 0.025, 0.027, 0.028}; 
	public static double[] lighting_sinephase1_sun = new double[] {5.7, 5.7, 5.7, 5.7, 5.6, 5.8, 6, 6, 6, 6, 6, 6, 5.9, 0, 5, 5.2, 4.8, 4.9, 4.7, 4.6, 4.5, 4.8, 4.7, 4.8, 4.8, 4.7, 4.8, 4.8, 4.8, 4.9, 4.9, 5, 5, 4.8, 5, 5, 5.2, 5.2, 5.1, 5.1, 5.6, 5.7, 5.7, 4.9, 4.9, 5.1, 5.5, 5.5}; 
	public static double[] lighting_sinescale2_sun = new double[] {0.021, 0.008, 0.01, 0.01, 0.014, 0.015, 0.013, 0.01, 0.01, 0.01, 0.01, 0.01, 0.015, 0.028, 0.027, 0.046, 0.094, 0.096, 0.102, 0.107, 0.08, 0.004, 0.004, 0, 0, 0.003, 0.004, 0.016, 0.018, 0.031, 0.043, 0.072, 0.203, 0.12, 0.224, 0.438, 0.699, 0.927, 0.999, 1.001, 0.722, 0.74, 0.591, 0.3, 0.231, 0.02, 0, 0}; 
	public static double[] lighting_sinephase2_sun = new double[] {3.9, 3.9, 3.9, 3.8, 3.8, 3.9, 3.9, 3.9, 3.9, 3.9, 3.9, 3.9, 4, 4.3, 4.3, 4.2, 4.2, 4, 4, 4, 4.5, 3.3, 3.3, 0, 0, 3.2, 3.2, 3.7, 3.7, 3.6, 3.6, 3.6, 3.8, 4.4, 3.9, 4.1, 4.1, 4.1, 4.1, 4.1, 4, 4.1, 4.1, 4.8, 4.8, 4.8, 0, 0}; 
	public static double[] lighting_const_sun = new double[] {0.352, 0.267, 0.202, 0.152, 0.12, 0.097, 0.082, 0.075, 0.069, 0.064, 0.061, 0.059, 0.062, 0.071, 0.079, 0.089, 0.073, 0.082, 0.093, 0.085, 0.094, 0.131, 0.129, 0.126, 0.126, 0.121, 0.129, 0.126, 0.129, 0.131, 0.142, 0.138, 0.05, 0.133, 0.189, 0.148, 0.153, 0.248, 0.42, 0.588, 0.772, 0.969, 0.972, 0.774, 0.777, 0.545, 0.453, 0.351}; 
	public static double[] lighting_stddev_min_sun = new double[] {0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0.023, 0.023, 0.026, 0.024, 0.035, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0.023, 0.025, 0.041, 0.036, 0.039, 0.043, 0.055, 0.083, 0.115, 0.157, 0.076, 0, 0, 0, 0, 0, 0}; 
	public static double[] lighting_stddev_max_sun = new double[] {0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0.043, 0.053, 0.049, 0.054, 0.061, 0.06, 0.072, 0.069, 0.061, 0.045, 0, 0, 0}; 
	public static double[] lighting_stddev_sine_sun = new double[] {0.047, 0.039, 0.037, 0.027, 0.023, 0.022, 0.018, 0.017, 0.016, 0.015, 0.014, 0.015, 0.015, 0.018, 0.022, 0.023, 0.031, 0.035, 0.043, 0.049, 0.051, 0.039, 0.053, 0.041, 0.048, 0.046, 0.05, 0.046, 0.048, 0.045, 0.058, 0.079, 0.084, 0.075, 0.088, 0.088, 0.057, 0.05, 0.094, 0.072, 0.089, 0.068, 0.069, 0.053, 0.035, 0.043, 0.051, 0.044}; 


	//washing from washing.m
	//washer parameters for Mondays/Saturdays/Sundays/Weekdays for UR(unrestricted) and E7 tarif (fs:)
	
	 public static double[] scale_washer_mon_UR = new double[] {0.004, 0, 0.006, 0.003, 0.046, 0.039, 0.002, 0.001, 0.026, 0.008, 0.005, 0.001, 0.006, 0.013, 0.006, 0.046, 0.083, 0.078, 0.03, 0.065, 0.12, 0.1, 0.075, 0.04, 0.086, 0.038, 0.07, 0.009, 0.033, 0.043, 0.043, 0.05, 0.05, 0.037, 0.028, 0.012, 0.031, 0.051, 0.073, 0.028, 0.039, 0.032, 0.015, 0.034, 0.007, 0.007, 0.01, 0.007}; 
	 public static double[] phase_washer_mon_UR = new double[] {2.8, 0, 3.6, 4.6, 3, 3.3, 2.5, 3.8, 5.5, 5.5, 0.1, 5, 0.7, 2.2, 0.5, 0.9, 0.5, 0, 0, 0.5, 0.3, 5.8, 5.4, 6.2, 6.1, 0.4, 0.1, 5.6, 5.2, 5.5, 0.9, 6.2, 5.3, 5, 5.9, 4, 4.4, 5.5, 5.7, 5.2, 5.2, 5.6, 5.6, 1.1, 1.8, 3.9, 5.6, 6.2}; 
	 public static double[] const_washer_mon_UR = new double[] {0.009, 0.007, 0.009, 0.005, 0.041, 0.036, 0.005, 0.004, 0.016, 0.005, 0.005, 0.008, 0.024, 0.02, 0.102, 0.122, 0.263, 0.394, 0.417, 0.368, 0.385, 0.37, 0.347, 0.292, 0.281, 0.246, 0.209, 0.165, 0.164, 0.176, 0.158, 0.155, 0.164, 0.148, 0.139, 0.128, 0.131, 0.12, 0.157, 0.119, 0.091, 0.086, 0.083, 0.059, 0.038, 0.027, 0.03, 0.013}; 
	 public static double[] stddev_washer_mon_UR = new double[] {0.02, 0.019, 0.021, 0.014, 0.042, 0.05, 0.011, 0.006, 0.046, 0.015, 0.023, 0.019, 0.044, 0.032, 0.074, 0.096, 0.148, 0.19, 0.181, 0.16, 0.146, 0.171, 0.144, 0.137, 0.142, 0.145, 0.113, 0.111, 0.108, 0.138, 0.1, 0.105, 0.11, 0.082, 0.088, 0.082, 0.106, 0.095, 0.095, 0.088, 0.09, 0.084, 0.083, 0.065, 0.044, 0.045, 0.06, 0.026}; 

	 public static double[] scale_washer_sat_UR = new double[] {0.05, 0.012, 0.007, 0.008, 0.013, 0.007, 0, 0, 0, 0, 0, 0.003, 0.009, 0.004, 0.01, 0.027, 0.029, 0.02, 0.05, 0.051, 0.063, 0.057, 0.044, 0.071, 0.057, 0.014, 0.045, 0.085, 0.028, 0.019, 0.029, 0.007, 0.013, 0.008, 0.02, 0.055, 0.054, 0.033, 0.006, 0.004, 0.015, 0.025, 0.015, 0.013, 0, 0.011, 0, 0.004}; 
	 public static double[] phase_washer_sat_UR = new double[] {5, 4.6, 5.2, 4.6, 2.4, 2.9, 0, 0, 0, 0, 0, 4.2, 3.8, 3.4, 2.2, 2.6, 2.7, 5.3, 0.2, 5.2, 6, 5.3, 4.8, 5.6, 0, 4.8, 6.1, 0.2, 0, 5, 3.2, 1.8, 0.9, 1.7, 4.9, 0.5, 0.5, 0.2, 6.1, 0.6, 5.5, 6, 5.4, 4.3, 0, 6, 0, 4.1}; 
	 public static double[] const_washer_sat_UR = new double[] {0.024, 0.017, 0.012, 0.008, 0.014, 0.014, 0.005, 0.003, 0.006, 0.005, 0.007, 0.012, 0.023, 0.028, 0.03, 0.109, 0.159, 0.203, 0.31, 0.372, 0.43, 0.444, 0.391, 0.38, 0.359, 0.326, 0.286, 0.284, 0.279, 0.251, 0.21, 0.212, 0.186, 0.146, 0.124, 0.12, 0.12, 0.117, 0.111, 0.087, 0.072, 0.071, 0.066, 0.047, 0.05, 0.037, 0.043, 0.024}; 
	 public static double[] stddev_washer_sat_UR = new double[] {0.041, 0.041, 0.032, 0.031, 0.035, 0.033, 0.022, 0.015, 0.028, 0.023, 0.034, 0.032, 0.054, 0.041, 0.041, 0.071, 0.089, 0.119, 0.155, 0.142, 0.166, 0.18, 0.163, 0.151, 0.135, 0.146, 0.113, 0.134, 0.128, 0.104, 0.135, 0.109, 0.12, 0.098, 0.091, 0.081, 0.081, 0.088, 0.08, 0.066, 0.071, 0.068, 0.06, 0.053, 0.05, 0.044, 0.057, 0.04}; 

	 public static double[] scale_washer_sun_UR = new double[] {0.016, 0.011, 0.012, 0.009, 0.036, 0.032, 0.004, 0.012, 0.033, 0.01, 0.016, 0.008, 0.016, 0.009, 0.007, 0, 0.022, 0.011, 0.05, 0.073, 0.088, 0.08, 0.057, 0.057, 0.062, 0.069, 0.058, 0.065, 0.061, 0.058, 0.073, 0.052, 0.082, 0.076, 0.08, 0.048, 0.019, 0.03, 0.04, 0.007, 0.032, 0.035, 0.006, 0.022, 0.005, 0.01, 0.014, 0.01}; 
	 public static double[] phase_washer_sun_UR = new double[] {4.8, 5.6, 5.3, 3.7, 2.8, 3.3, 3.7, 4.9, 5, 5, 4.6, 4.6, 4.5, 4.6, 3.8, 0, 2.6, 1.3, 1.2, 0.6, 0.1, 5.2, 5, 5.7, 5.7, 5.4, 5, 5.2, 5.2, 4.5, 4.7, 4.4, 4.8, 5, 5, 4.6, 4.3, 5, 5.1, 5.6, 5.9, 5.7, 0.4, 0.4, 1.6, 0, 0, 4.8}; 
	 public static double[] const_washer_sun_UR = new double[] {0.024, 0.017, 0.018, 0.022, 0.04, 0.032, 0.01, 0.012, 0.019, 0.006, 0.01, 0.005, 0.013, 0.021, 0.021, 0.032, 0.055, 0.096, 0.184, 0.251, 0.348, 0.406, 0.358, 0.323, 0.316, 0.267, 0.268, 0.193, 0.22, 0.198, 0.201, 0.187, 0.181, 0.189, 0.154, 0.146, 0.119, 0.12, 0.122, 0.122, 0.09, 0.079, 0.085, 0.074, 0.055, 0.035, 0.031, 0.025}; 
	 public static double[] stddev_washer_sun_UR = new double[] {0.042, 0.041, 0.038, 0.041, 0.055, 0.046, 0.027, 0.033, 0.047, 0.023, 0.038, 0.024, 0.047, 0.041, 0.042, 0.042, 0.055, 0.096, 0.184, 0.251, 0.348, 0.406, 0.358, 0.323, 0.146, 0.137, 0.131, 0.104, 0.12, 0.122, 0.115, 0.116, 0.112, 0.123, 0.101, 0.097, 0.083, 0.081, 0.101, 0.095, 0.074, 0.084, 0.087, 0.069, 0.049, 0.041, 0.045, 0.048}; 

	 public static double[] scale_washer_wkdays_UR = new double[] {0.002, 0.001, 0, 0, 0.022, 0.01, 0, 0.003, 0.026, 0, 0, 0.005, 0.002, 0.004, 0.029, 0.013, 0.046, 0.029, 0.006, 0.023, 0.009, 0.029, 0.019, 0.014, 0.014, 0.009, 0.007, 0.022, 0.019, 0.009, 0.01, 0.015, 0.021, 0.01, 0.017, 0.018, 0.018, 0.025, 0.022, 0.01, 0.034, 0.023, 0.025, 0.018, 0.003, 0.002, 0.003, 0.002}; 
	 public static double[] phase_washer_wkdays_UR = new double[] {1.4, 1.4, 0, 0, 2.4, 2.6, 0, 5, 5.4, 0, 0, 2.9, 4.2, 2.8, 0.5, 0.9, 1, 6.2, 2, 5.9, 0, 0, 5.9, 0.5, 4.6, 4.4, 5.2, 0, 5.5, 4.9, 5.8, 5.4, 6, 5.5, 6, 6.2, 6, 4.9, 5.3, 6, 6, 0.5, 0.7, 0.4, 2.5, 1.9, 0.6, 0.4}; 
	 public static double[] const_washer_wkdays_UR = new double[] {0.011, 0.005, 0.002, 0.001, 0.025, 0.016, 0.004, 0.003, 0.016, 0.004, 0.005, 0.02, 0.039, 0.032, 0.072, 0.081, 0.186, 0.262, 0.257, 0.279, 0.26, 0.239, 0.216, 0.18, 0.171, 0.164, 0.127, 0.116, 0.131, 0.116, 0.103, 0.108, 0.112, 0.127, 0.125, 0.123, 0.113, 0.114, 0.119, 0.098, 0.1, 0.094, 0.089, 0.08, 0.05, 0.036, 0.031, 0.016}; 
	 public static double[] stddev_washer_wkdays_UR = new double[] {0.027, 0.018, 0.01, 0.006, 0.044, 0.038, 0.014, 0.007, 0.043, 0.014, 0.02, 0.039, 0.054, 0.041, 0.059, 0.071, 0.13, 0.148, 0.12, 0.133, 0.134, 0.134, 0.127, 0.117, 0.12, 0.126, 0.096, 0.099, 0.109, 0.089, 0.078, 0.086, 0.087, 0.099, 0.1, 0.094, 0.092, 0.096, 0.091, 0.082, 0.089, 0.082, 0.078, 0.086, 0.055, 0.049, 0.051, 0.031}; 

	 public static double[] scale_washer_mon_E7 = new double[] {0.028, 0.011, 0.021, 0.053, 0.042, 0.028, 0.053, 0.118, 0.058, 0.046, 0.04, 0.071, 0.071, 0.061, 0.029, 0.019, 0.022, 0.032, 0.028, 0.024, 0.038, 0.016, 0.017, 0.017, 0.016, 0.012, 0.032, 0.049, 0.023, 0.049, 0.041, 0.047, 0.049, 0.024, 0.02, 0.03, 0.03, 0.018, 0.023, 0.026, 0.016, 0.007, 0.015, 0.016, 0.005, 0.015, 0.011, 0.006}; 
	 public static double[] phase_washer_mon_E7 = new double[] {5, 4, 3.4, 4, 4.5, 3.8, 5.6, 6.2, 5.7, 5.5, 6, 5.5, 6, 0.4, 4.7, 5.2, 0, 0.7, 6.1, 3.9, 3.4, 2.3, 5.3, 2.5, 4.1, 4.8, 4.9, 4.7, 4.4, 4, 4.5, 5, 4.6, 3.3, 4.3, 5.2, 4.5, 4.9, 5.2, 5.1, 4.6, 5.4, 5.5, 5, 5.5, 4.7, 0.4, 0.2}; 
	 public static double[] const_washer_mon_E7 = new double[] {0.063, 0.035, 0.032, 0.058, 0.066, 0.113, 0.109, 0.148, 0.126, 0.088, 0.184, 0.13, 0.162, 0.185, 0.184, 0.259, 0.297, 0.282, 0.296, 0.317, 0.28, 0.26, 0.232, 0.195, 0.163, 0.157, 0.146, 0.134, 0.109, 0.103, 0.098, 0.083, 0.068, 0.067, 0.068, 0.061, 0.059, 0.05, 0.058, 0.061, 0.04, 0.029, 0.038, 0.029, 0.022, 0.034, 0.066, 0.087}; 
	 public static double[] stddev_washer_mon_E7 = new double[] {0.055, 0.049, 0.04, 0.06, 0.064, 0.075, 0.075, 0.112, 0.089, 0.072, 0.075, 0.095, 0.081, 0.09, 0.1, 0.125, 0.111, 0.136, 0.136, 0.128, 0.162, 0.124, 0.109, 0.126, 0.095, 0.103, 0.097, 0.095, 0.078, 0.088, 0.098, 0.07, 0.056, 0.082, 0.068, 0.055, 0.064, 0.055, 0.06, 0.057, 0.051, 0.036, 0.056, 0.048, 0.028, 0.039, 0.054, 0.043}; 


	 public static double[] scale_washer_sat_E7 = new double[] {0.01, 0.027, 0.02, 0.054, 0.04, 0.022, 0.03, 0.073, 0.041, 0.003, 0.025, 0.046, 0.065, 0.047, 0.01, 0.008, 0.011, 0.045, 0.06, 0.006, 0.031, 0.07, 0.029, 0.067, 0.067, 0.069, 0.063, 0.078, 0.053, 0.067, 0.02, 0.042, 0.025, 0.014, 0.022, 0.024, 0.013, 0.015, 0.021, 0.02, 0.018, 0.006, 0.017, 0.004, 0.014, 0.01, 0.014, 0.03}; 
	 public static double[] phase_washer_sat_E7 = new double[] {1.6, 4.8, 5.1, 4.1, 4.9, 3.2, 5.2, 6.1, 5.8, 4.2, 6, 5.1, 5.3, 6, 4.7, 1, 0, 5.2, 5.2, 0.2, 4.6, 4.7, 5.1, 5, 4.9, 5, 4.5, 4.5, 4.3, 4.4, 4.9, 4.5, 4, 5.1, 5.4, 4.6, 5.8, 4.8, 3.9, 3.7, 4.4, 3.7, 1.4, 2.3, 0, 5.5, 3.5, 4.4}; 
	 public static double[] const_washer_sat_E7 = new double[] {0.064, 0.055, 0.051, 0.045, 0.053, 0.111, 0.068, 0.118, 0.101, 0.071, 0.19, 0.119, 0.121, 0.117, 0.138, 0.164, 0.201, 0.197, 0.194, 0.245, 0.299, 0.316, 0.301, 0.242, 0.27, 0.189, 0.166, 0.163, 0.131, 0.13, 0.11, 0.111, 0.079, 0.071, 0.069, 0.05, 0.043, 0.068, 0.076, 0.064, 0.049, 0.04, 0.035, 0.03, 0.034, 0.036, 0.041, 0.063}; 
	 public static double[] stddev_washer_sat_E7 = new double[] {0.042, 0.056, 0.061, 0.057, 0.045, 0.074, 0.074, 0.094, 0.074, 0.066, 0.067, 0.072, 0.077, 0.071, 0.086, 0.089, 0.114, 0.109, 0.106, 0.112, 0.158, 0.138, 0.137, 0.113, 0.137, 0.105, 0.096, 0.113, 0.092, 0.063, 0.07, 0.076, 0.062, 0.063, 0.08, 0.052, 0.041, 0.066, 0.063, 0.066, 0.058, 0.054, 0.048, 0.041, 0.045, 0.045, 0.044, 0.046}; 

	 public static double[] scale_washer_sun_E7 = new double[] {0.021, 0.019, 0.022, 0.057, 0.04, 0.025, 0.039, 0.072, 0.035, 0.019, 0.019, 0.037, 0.045, 0.01, 0.015, 0.035, 0.065, 0.056, 0.036, 0.029, 0.016, 0.08, 0.074, 0.075, 0.05, 0.032, 0.05, 0.05, 0.025, 0.014, 0.009, 0.013, 0.038, 0.019, 0.028, 0.044, 0.03, 0.052, 0.046, 0.032, 0.022, 0.018, 0.008, 0.042, 0.017, 0.019, 0.01, 0.03}; 
	 public static double[] phase_washer_sun_E7 = new double[] {4.5, 3.8, 3.6, 4.3, 5.1, 3.5, 5.1, 6.1, 6.2, 5.5, 5.9, 5.2, 5.5, 5, 2.6, 0, 0.4, 6.1, 5.6, 5.9, 5, 5.2, 4.9, 4.8, 4.2, 5.2, 4.9, 4.7, 4.2, 5.7, 5.3, 5.1, 4.9, 5.5, 4.1, 3.9, 4.5, 4.4, 3.9, 4, 3.5, 5, 4.3, 2.8, 1.6, 0.1, 4.3, 4.4}; 
	 public static double[] const_washer_sun_E7 = new double[] {0.044, 0.058, 0.056, 0.065, 0.062, 0.067, 0.062, 0.076, 0.064, 0.058, 0.069, 0.065, 0.081, 0.08, 0.084, 0.094, 0.158, 0.189, 0.152, 0.168, 0.214, 0.266, 0.224, 0.206, 0.211, 0.185, 0.157, 0.139, 0.105, 0.082, 0.092, 0.099, 0.08, 0.081, 0.065, 0.068, 0.078, 0.077, 0.077, 0.067, 0.062, 0.06, 0.059, 0.057, 0.042, 0.052, 0.079, 0.09}; 
	 public static double[] stddev_washer_sun_E7 = new double[] {0.044, 0.058, 0.056, 0.065, 0.062, 0.067, 0.062, 0.076, 0.064, 0.058, 0.069, 0.065, 0.077, 0.082, 0.077, 0.087, 0.076, 0.094, 0.069, 0.093, 0.122, 0.153, 0.103, 0.139, 0.13, 0.1, 0.106, 0.094, 0.088, 0.066, 0.076, 0.09, 0.059, 0.076, 0.06, 0.051, 0.072, 0.077, 0.072, 0.062, 0.065, 0.06, 0.069, 0.07, 0.058, 0.04, 0.062, 0.058}; 

	 public static double[] scale_washer_wkdays_E7 = new double[] {0.018, 0.024, 0.035, 0.07, 0.031, 0.011, 0.057, 0.111, 0.058, 0.025, 0.011, 0.053, 0.034, 0.072, 0.01, 0.025, 0.024, 0.021, 0.024, 0.033, 0.044, 0.024, 0.026, 0.035, 0.029, 0.039, 0.024, 0.027, 0.007, 0.015, 0.027, 0.009, 0.012, 0.018, 0.011, 0.012, 0.023, 0.023, 0.01, 0.001, 0.007, 0.01, 0.008, 0.012, 0.01, 0.003, 0.005, 0.004}; 
	 public static double[] phase_washer_wkdays_E7 = new double[] {5, 4.4, 4.1, 4.3, 4, 6.1, 6.1, 6.1, 6.1, 6.1, 5.5, 5.6, 0, 0.1, 4.7, 0.4, 6.2, 5.4, 5.9, 5.1, 4.5, 4.7, 4, 4.6, 5, 4.9, 4.3, 4.6, 4.8, 4, 4.3, 4, 4.7, 4.8, 4.4, 4.7, 5, 4.8, 4.7, 3.5, 5.4, 4.8, 4.5, 4.9, 4.8, 5.2, 5.8, 4.7}; 
	 public static double[] const_washer_wkdays_E7 = new double[] {0.059, 0.039, 0.036, 0.054, 0.048, 0.111, 0.097, 0.136, 0.098, 0.071, 0.131, 0.12, 0.112, 0.163, 0.134, 0.172, 0.169, 0.183, 0.176, 0.2, 0.189, 0.162, 0.142, 0.132, 0.116, 0.107, 0.094, 0.089, 0.074, 0.071, 0.066, 0.062, 0.056, 0.053, 0.051, 0.064, 0.068, 0.062, 0.068, 0.064, 0.042, 0.042, 0.036, 0.028, 0.024, 0.031, 0.061, 0.082}; 
	 public static double[] stddev_washer_wkdays_E7 = new double[] {0.043, 0.046, 0.046, 0.07, 0.051, 0.079, 0.077, 0.088, 0.084, 0.062, 0.079, 0.079, 0.085, 0.094, 0.085, 0.104, 0.093, 0.11, 0.102, 0.113, 0.114, 0.103, 0.093, 0.094, 0.097, 0.078, 0.085, 0.082, 0.068, 0.066, 0.064, 0.066, 0.062, 0.058, 0.06, 0.062, 0.075, 0.065, 0.071, 0.061, 0.048, 0.048, 0.046, 0.045, 0.04, 0.039, 0.056, 0.048}; 


	// dryer parameters
	 public static double[] scale_dryer_mon_UR = new double[] {0.017, 0.014, 0.008, 0, 0, 0, 0, 0.004, 0, 0, 0.01, 0.022, 0.035, 0.026, 0.034, 0.019, 0.005, 0.027, 0.04, 0.032, 0.051, 0.048, 0.107, 0.116, 0.058, 0.124, 0.125, 0.058, 0.117, 0.103, 0.086, 0.088, 0.11, 0.124, 0.118, 0.156, 0.162, 0.1, 0.024, 0.034, 0.042, 0.024, 0.045, 0.009, 0.011, 0.036, 0.009, 0.023}; 
	 public static double[] phase_dryer_mon_UR = new double[] {3.7, 3.5, 3.8, 0, 0, 0, 0, 4, 0, 0, 4.8, 5.6, 6.2, 5.9, 5.4, 5.5, 3.5, 3.9, 5.3, 5.3, 4.3, 4.6, 5.4, 5.5, 4.9, 5.2, 5.2, 5.2, 4.9, 4.6, 4.5, 4.9, 5.2, 5.2, 4.8, 4.7, 4.8, 4.8, 4.8, 4.2, 4.7, 4.7, 5.5, 5.3, 0.2, 0.2, 3.4, 3.1}; 
	 public static double[] const_dryer_mon_UR = new double[] {0.028, 0.012, 0.006, 0.001, 0.001, 0.001, 0.001, 0.003, 0.005, 0.005, 0.015, 0.031, 0.046, 0.043, 0.05, 0.073, 0.092, 0.115, 0.114, 0.108, 0.119, 0.17, 0.205, 0.22, 0.208, 0.215, 0.229, 0.202, 0.181, 0.163, 0.162, 0.172, 0.174, 0.204, 0.232, 0.225, 0.206, 0.184, 0.168, 0.131, 0.094, 0.09, 0.095, 0.1, 0.084, 0.072, 0.072, 0.062}; 
	 public static double[] stddev_dryer_mon_UR = new double[] {0.028, 0.038, 0.023, 0.004, 0.002, 0.002, 0.002, 0.014, 0.024, 0.019, 0.043, 0.06, 0.066, 0.063, 0.061, 0.075, 0.1, 0.113, 0.12, 0.104, 0.123, 0.109, 0.137, 0.119, 0.133, 0.128, 0.13, 0.146, 0.131, 0.123, 0.148, 0.147, 0.141, 0.177, 0.172, 0.144, 0.15, 0.143, 0.14, 0.107, 0.101, 0.091, 0.108, 0.114, 0.108, 0.096, 0.098, 0.078}; 

	 public static double[] scale_dryer_sat_UR = new double[] {0.018, 0.005, 0.003, 0.009, 0.014, 0.011, 0.005, 0, 0, 0, 0.009, 0.005, 0.023, 0.016, 0.016, 0.021, 0.017, 0.023, 0.04, 0.029, 0.043, 0.037, 0.116, 0.148, 0.078, 0.078, 0.103, 0.094, 0.112, 0.101, 0.101, 0.106, 0.074, 0.087, 0.065, 0.108, 0.087, 0.107, 0.084, 0.052, 0.028, 0.067, 0.032, 0.029, 0.02, 0.004, 0.012, 0.005}; 
	 public static double[] phase_dryer_sat_UR = new double[] {3.9, 4.5, 4.4, 4.7, 5.4, 5.4, 5.4, 0, 0, 0, 5.3, 4.7, 5.5, 5.9, 0, 0.5, 4.4, 5.9, 5.6, 4.6, 5.6, 5.2, 5.2, 5.3, 4.8, 4.8, 4.4, 4.9, 5, 4.7, 4.9, 4.9, 4.7, 4.7, 5.2, 5.1, 4.9, 4.9, 5.2, 5.2, 6.2, 6.2, 5.9, 3.9, 4.5, 3.5, 3.2, 4}; 
	 public static double[] const_dryer_sat_UR = new double[] {0.018, 0.009, 0.015, 0.011, 0.009, 0.007, 0.004, 0.001, 0.003, 0.002, 0.007, 0.01, 0.024, 0.024, 0.023, 0.037, 0.075, 0.081, 0.102, 0.132, 0.159, 0.171, 0.212, 0.206, 0.185, 0.194, 0.198, 0.219, 0.175, 0.197, 0.208, 0.197, 0.163, 0.174, 0.185, 0.205, 0.178, 0.168, 0.167, 0.119, 0.093, 0.103, 0.096, 0.08, 0.058, 0.039, 0.043, 0.038}; 
	 public static double[] stddev_dryer_sat_UR = new double[] {0.044, 0.029, 0.045, 0.04, 0.035, 0.032, 0.019, 0.002, 0.019, 0.009, 0.032, 0.032, 0.065, 0.051, 0.048, 0.061, 0.085, 0.084, 0.12, 0.114, 0.129, 0.128, 0.156, 0.163, 0.145, 0.16, 0.159, 0.166, 0.144, 0.154, 0.165, 0.154, 0.126, 0.119, 0.142, 0.152, 0.129, 0.162, 0.165, 0.14, 0.107, 0.105, 0.114, 0.104, 0.097, 0.064, 0.072, 0.068}; 

	 public static double[] scale_dryer_sun_UR = new double[] {0.013, 0.006, 0.003, 0.006, 0.005, 0.003, 0, 0, 0, 0, 0, 0.017, 0.005, 0.007, 0.032, 0.057, 0.043, 0.045, 0.057, 0.064, 0.034, 0.09, 0.072, 0.115, 0.17, 0.134, 0.08, 0.099, 0.092, 0.1, 0.091, 0.155, 0.161, 0.158, 0.199, 0.202, 0.168, 0.121, 0.154, 0.098, 0.118, 0.129, 0.063, 0.084, 0.044, 0.014, 0.024, 0.017}; 
	 public static double[] phase_dryer_sun_UR = new double[] {5.8, 4.7, 5.3, 6.1, 5.5, 5.4, 0, 0, 0, 0, 0, 3.3, 4, 2.4, 4.9, 5.1, 5.2, 5.5, 5.3, 5.2, 5.2, 5.1, 5.1, 4.8, 4.7, 4.7, 5, 4.6, 4.9, 4.8, 4.4, 4.7, 4.6, 4.8, 5, 4.8, 4.7, 4.7, 4.7, 4.5, 4.7, 4.8, 4.3, 4.1, 3.6, 3, 3.3, 3.8}; 
	 public static double[] const_dryer_sun_UR = new double[] {0.021, 0.018, 0.012, 0.011, 0.009, 0.004, 0.001, 0.003, 0.003, 0.002, 0.006, 0.012, 0.019, 0.022, 0.046, 0.068, 0.069, 0.075, 0.083, 0.121, 0.16, 0.204, 0.208, 0.232, 0.253, 0.214, 0.226, 0.219, 0.195, 0.173, 0.169, 0.195, 0.207, 0.261, 0.257, 0.25, 0.223, 0.184, 0.194, 0.196, 0.164, 0.14, 0.137, 0.149, 0.131, 0.088, 0.09, 0.046}; 
	 public static double[] stddev_dryer_sun_UR = new double[] {0.045, 0.047, 0.031, 0.036, 0.038, 0.014, 0.002, 0.013, 0.015, 0.013, 0.025, 0.034, 0.046, 0.048, 0.077, 0.083, 0.08, 0.086, 0.093, 0.105, 0.121, 0.129, 0.131, 0.131, 0.136, 0.152, 0.153, 0.145, 0.147, 0.13, 0.149, 0.155, 0.178, 0.185, 0.185, 0.156, 0.146, 0.127, 0.132, 0.128, 0.125, 0.111, 0.116, 0.109, 0.102, 0.09, 0.108, 0.067}; 

	 public static double[] scale_dryer_wkdays_UR = new double[] {0.01, 0.005, 0.005, 0.004, 0, 0.001, 0.001, 0, 0, 0, 0, 0.033, 0.035, 0.027, 0.025, 0.028, 0.03, 0.033, 0.05, 0.06, 0.075, 0.077, 0.069, 0.08, 0.088, 0.104, 0.095, 0.08, 0.09, 0.082, 0.068, 0.099, 0.094, 0.109, 0.093, 0.086, 0.081, 0.046, 0.019, 0.024, 0.038, 0.027, 0.01, 0.004, 0.01, 0.013, 0.02, 0.018}; 
	 public static double[] phase_dryer_wkdays_UR = new double[] {2.8, 3.5, 3.4, 4.3, 0, 3.7, 3.7, 0, 0, 0, 3.7, 5.6, 5.6, 5.5, 5.7, 6.1, 5.9, 4.7, 5.1, 4.9, 5, 5, 5, 5.2, 5.2, 5.3, 5.1, 5.1, 5, 4.8, 5.1, 5.2, 4.9, 5.2, 5.3, 5.4, 5.1, 5.3, 5.3, 0.1, 0.1, 0.1, 0.6, 5.2, 3.1, 2.2, 2.5, 2.6}; 
	 public static double[] const_dryer_wkdays_UR = new double[] {0.028, 0.017, 0.01, 0.006, 0.007, 0.002, 0.002, 0.003, 0.002, 0.004, 0.015, 0.029, 0.042, 0.052, 0.06, 0.073, 0.087, 0.085, 0.082, 0.092, 0.121, 0.137, 0.143, 0.133, 0.145, 0.154, 0.139, 0.126, 0.129, 0.126, 0.116, 0.12, 0.136, 0.158, 0.163, 0.156, 0.135, 0.129, 0.107, 0.103, 0.092, 0.085, 0.079, 0.082, 0.079, 0.061, 0.055, 0.038}; 
	 public static double[] stddev_dryer_wkdays_UR = new double[] {0.062, 0.049, 0.033, 0.028, 0.043, 0.012, 0.016, 0.018, 0.013, 0.019, 0.05, 0.065, 0.076, 0.081, 0.08, 0.085, 0.102, 0.096, 0.101, 0.117, 0.118, 0.121, 0.125, 0.118, 0.138, 0.131, 0.134, 0.129, 0.141, 0.139, 0.121, 0.117, 0.124, 0.128, 0.131, 0.121, 0.119, 0.127, 0.117, 0.111, 0.101, 0.094, 0.096, 0.096, 0.09, 0.08, 0.078, 0.065}; 


	 public static double[] scale_dryer_mon_E7 = new double[] {0.005, 0.003, 0.015, 0.011, 0.01, 0.058, 0.033, 0.055, 0.023, 0.01, 0.006, 0.008, 0.006, 0.019, 0.036, 0.089, 0.097, 0.11, 0.075, 0.046, 0.064, 0.056, 0.048, 0.095, 0.108, 0.108, 0.093, 0.098, 0.114, 0.138, 0.087, 0.086, 0.136, 0.147, 0.095, 0.082, 0.08, 0.059, 0.057, 0.018, 0.027, 0.029, 0.009, 0.004, 0.011, 0.01, 0.005, 0.007}; 
	 public static double[] phase_dryer_mon_E7 = new double[] {2.3, 5.7, 5.2, 5, 4.7, 4, 3.7, 3.1, 4.2, 4.7, 5.6, 5.8, 3.3, 3.2, 4, 3.9, 4, 4.1, 4.2, 4.3, 4.2, 4.5, 4.7, 4.8, 4.6, 4.6, 4.8, 4.6, 4.5, 4.8, 4.8, 4.9, 4.8, 4.9, 5, 4.8, 4.8, 5, 4.6, 4.6, 6, 5.6, 3.3, 5.2, 5.8, 5.9, 3.8, 3}; 
	 public static double[] const_dryer_mon_E7 = new double[] {0.014, 0.009, 0.008, 0.007, 0.029, 0.061, 0.051, 0.08, 0.034, 0.014, 0.012, 0.008, 0.021, 0.027, 0.064, 0.098, 0.094, 0.095, 0.099, 0.12, 0.124, 0.139, 0.137, 0.149, 0.179, 0.172, 0.147, 0.135, 0.132, 0.132, 0.095, 0.111, 0.153, 0.176, 0.114, 0.1, 0.11, 0.104, 0.109, 0.076, 0.04, 0.045, 0.041, 0.016, 0.019, 0.012, 0.003, 0.006}; 
	 public static double[] stddev_dryer_mon_E7 = new double[] {0.045, 0.027, 0.034, 0.033, 0.058, 0.075, 0.062, 0.1, 0.072, 0.038, 0.035, 0.028, 0.048, 0.055, 0.066, 0.101, 0.091, 0.095, 0.102, 0.1, 0.117, 0.119, 0.102, 0.091, 0.132, 0.115, 0.124, 0.125, 0.114, 0.105, 0.087, 0.097, 0.135, 0.146, 0.101, 0.112, 0.099, 0.1, 0.099, 0.082, 0.051, 0.073, 0.059, 0.045, 0.048, 0.037, 0.015, 0.03}; 

	 public static double[] scale_dryer_sat_E7 = new double[] {0.013, 0.007, 0.013, 0.07, 0.012, 0.054, 0.03, 0.057, 0.029, 0.007, 0.013, 0.013, 0.013, 0.016, 0.005, 0.042, 0.058, 0.064, 0.062, 0.05, 0.08, 0.082, 0.049, 0.059, 0.07, 0.122, 0.133, 0.09, 0.154, 0.127, 0.125, 0.158, 0.128, 0.075, 0.077, 0.071, 0.038, 0.06, 0.057, 0.055, 0.048, 0.008, 0.009, 0.022, 0.011, 0.005, 0.008, 0}; 
	 public static double[] phase_dryer_sat_E7 = new double[] {4.8, 6, 5.8, 4.4, 3.1, 4.3, 5.1, 3.4, 3.8, 3.6, 3, 2.7, 4.7, 4.8, 5.2, 4.1, 4.2, 3.8, 3.8, 3.9, 3.9, 4.1, 3.6, 3.9, 4.5, 4.8, 4.8, 4.8, 4.7, 4.7, 5.1, 4.9, 4.8, 4.8, 4.8, 4.8, 4.7, 4.7, 4.3, 3.9, 4.2, 3.8, 5.3, 5, 5, 5.4, 5.8, 0}; 
	 public static double[] const_dryer_sat_E7 = new double[] {0.009, 0.011, 0.009, 0.014, 0.023, 0.057, 0.069, 0.075, 0.029, 0.008, 0.01, 0.012, 0.01, 0.011, 0.015, 0.051, 0.092, 0.103, 0.116, 0.131, 0.164, 0.165, 0.192, 0.209, 0.184, 0.203, 0.223, 0.194, 0.19, 0.178, 0.193, 0.2, 0.19, 0.145, 0.13, 0.112, 0.111, 0.122, 0.092, 0.079, 0.07, 0.05, 0.049, 0.035, 0.011, 0.005, 0.006, 0.004}; 
	 public static double[] stddev_dryer_sat_E7 = new double[] {0.03, 0.039, 0.03, 0.033, 0.042, 0.066, 0.099, 0.083, 0.046, 0.017, 0.032, 0.042, 0.028, 0.029, 0.036, 0.084, 0.122, 0.128, 0.113, 0.124, 0.125, 0.135, 0.144, 0.157, 0.133, 0.135, 0.172, 0.14, 0.137, 0.137, 0.118, 0.137, 0.161, 0.134, 0.157, 0.129, 0.113, 0.11, 0.097, 0.089, 0.089, 0.077, 0.067, 0.074, 0.026, 0.022, 0.031, 0.014}; 

	 public static double[] scale_dryer_sun_E7 = new double[] {0.17, 0.02, 0.014, 0.007, 0.024, 0.048, 0.042, 0.039, 0.018, 0.016, 0.007, 0.027, 0.012, 0.01, 0.04, 0.047, 0.052, 0.06, 0.057, 0.05, 0.135, 0.124, 0.109, 0.066, 0.078, 0.104, 0.096, 0.134, 0.092, 0.08, 0.085, 0.08, 0.065, 0.042, 0.028, 0.035, 0.049, 0.031, 0.018, 0.03, 0.055, 0.026, 0.02, 0.008, 0.01, 0.007, 0.021, 0.019}; 
	 public static double[] phase_dryer_sun_E7 = new double[] {4.3, 3.9, 4.1, 4.8, 2.2, 3.9, 4.8, 4, 4, 4.5, 3.8, 1.6, 0.7, 6, 4.2, 4.3, 4.2, 3.8, 3.7, 4.6, 4.5, 4.4, 4.7, 4, 4.3, 4.7, 4.8, 4.9, 4.7, 4.8, 4.3, 4, 4.2, 4.2, 3.4, 3.5, 4.3, 4.5, 4.7, 4.8, 4.9, 4.4, 4.5, 5.3, 3.7, 4, 4.4, 4.6}; 
	 public static double[] const_dryer_sun_E7 = new double[] {0.013, 0.018, 0.015, 0.02, 0.032, 0.06, 0.072, 0.099, 0.037, 0.021, 0.014, 0.018, 0.015, 0.023, 0.04, 0.06, 0.071, 0.079, 0.09, 0.127, 0.164, 0.17, 0.18, 0.199, 0.207, 0.208, 0.213, 0.182, 0.147, 0.146, 0.157, 0.15, 0.115, 0.093, 0.077, 0.075, 0.096, 0.09, 0.078, 0.056, 0.056, 0.031, 0.031, 0.027, 0.028, 0.013, 0.015, 0.018}; 
	 public static double[] stddev_dryer_sun_E7 = new double[] {0.048, 0.057, 0.043, 0.047, 0.049, 0.057, 0.073, 0.083, 0.052, 0.045, 0.04, 0.048, 0.039, 0.062, 0.07, 0.066, 0.072, 0.072, 0.101, 0.109, 0.144, 0.132, 0.143, 0.126, 0.136, 0.145, 0.15, 0.148, 0.127, 0.129, 0.127, 0.126, 0.113, 0.105, 0.099, 0.109, 0.111, 0.088, 0.088, 0.077, 0.068, 0.055, 0.06, 0.051, 0.055, 0.036, 0.046, 0.045}; 

	 public static double[] scale_dryer_wkdays_E7 = new double[] {0.004, 0.005, 0.008, 0.006, 0.008, 0.041, 0.034, 0.016, 0.013, 0.004, 0.002, 0.004, 0.014, 0.014, 0.036, 0.05, 0.057, 0.038, 0.048, 0.046, 0.055, 0.052, 0.06, 0.064, 0.056, 0.059, 0.044, 0.047, 0.042, 0.059, 0.06, 0.057, 0.071, 0.063, 0.048, 0.045, 0.038, 0.03, 0.022, 0.022, 0.01, 0.003, 0.005, 0.004, 0.01, 0.007, 0, 0.004}; 
	 public static double[] phase_dryer_wkdays_E7 = new double[] {4.8, 0.2, 5.5, 0.1, 1.9, 4.3, 4.7, 3.6, 5.2, 3.8, 3.4, 4.8, 4.8, 4.7, 4.6, 3.9, 3.9, 3.7, 4, 4.3, 4.7, 4.5, 4.2, 4.3, 4.5, 4.4, 4.5, 4.2, 4.4, 4.5, 4.4, 4.5, 4.7, 4.7, 4.8, 4.9, 4.7, 4.8, 4.9, 4.8, 4.4, 3.7, 3.8, 1.5, 1.7, 2, 0, 4.9}; 
	 public static double[] const_dryer_wkdays_E7 = new double[] {0.004, 0.006, 0.008, 0.014, 0.027, 0.055, 0.052, 0.074, 0.044, 0.02, 0.008, 0.008, 0.016, 0.032, 0.058, 0.082, 0.086, 0.063, 0.083, 0.093, 0.105, 0.109, 0.109, 0.109, 0.103, 0.101, 0.093, 0.094, 0.086, 0.082, 0.084, 0.097, 0.114, 0.11, 0.106, 0.094, 0.082, 0.086, 0.084, 0.077, 0.065, 0.047, 0.037, 0.03, 0.021, 0.014, 0.011, 0.008}; 
	 public static double[] stddev_dryer_wkdays_E7 = new double[] {0.021, 0.029, 0.031, 0.035, 0.052, 0.069, 0.061, 0.084, 0.068, 0.042, 0.029, 0.029, 0.043, 0.056, 0.085, 0.092, 0.1, 0.08, 0.103, 0.1, 0.099, 0.109, 0.102, 0.108, 0.103, 0.101, 0.101, 0.105, 0.103, 0.1, 0.108, 0.102, 0.118, 0.123, 0.113, 0.101, 0.103, 0.106, 0.104, 0.093, 0.083, 0.07, 0.069, 0.058, 0.046, 0.037, 0.036, 0.031}; 


	//dishwasher parameters
	 public static double[] scale_dish_UR = new double[] {0.004, 0.015, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0.001, 0.012, 0.016, 0, 0, 0.005, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0.022, 0.022, 0.017, 0.014, 0.006, 0.016, 0.015, 0.017, 0.025, 0.009, 0.037, 0.024, 0.024, 0.001, 0.015, 0.012, 0.004, 0.005}; 
	 public static double[] phase_dish_UR = new double[] {2.6, 2.4, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 2, 1, 0.5, 0, 0, 3.4, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 5.2, 5.1, 5.3, 4.7, 5.2, 5, 5, 5.5, 5, 5.8, 5.7, 0, 0.1, 0, 0, 5.7, 4.4, 5.5}; 
	 public static double[] const_dish_UR = new double[] {0.058, 0.053, 0.017, 0.009, 0.008, 0.006, 0.006, 0.003, 0.001, 0.001, 0.001, 0.001, 0.001, 0.002, 0.009, 0.025, 0.072, 0.104, 0.114, 0.117, 0.137, 0.128, 0.094, 0.068, 0.06, 0.051, 0.061, 0.079, 0.083, 0.085, 0.078, 0.068, 0.06, 0.056, 0.053, 0.061, 0.067, 0.094, 0.143, 0.196, 0.212, 0.195, 0.182, 0.187, 0.172, 0.13, 0.093, 0.068}; 
	 public static double[] stddev_dish_UR = new double[] {0.071, 0.053, 0.036, 0.032, 0.03, 0.023, 0.025, 0.016, 0.007, 0.006, 0.011, 0.013, 0.007, 0.015, 0.034, 0.053, 0.094, 0.114, 0.112, 0.106, 0.113, 0.11, 0.102, 0.088, 0.087, 0.073, 0.082, 0.098, 0.102, 0.112, 0.101, 0.094, 0.088, 0.081, 0.086, 0.095, 0.091, 0.095, 0.133, 0.146, 0.14, 0.134, 0.141, 0.132, 0.125, 0.111, 0.091, 0.08}; 

	 public static double[] scale_dish_E7 = new double[] {0.063, 0.062, 0.062, 0.073, 0.084, 0.072, 0.08, 0.057, 0.007, 0.042, 0.083, 0.006, 0, 0.002, 0.005, 0.002, 0.007, 0.022, 0.008, 0.019, 0.026, 0.037, 0.034, 0.011, 0.068, 0.021, 0.015, 0.008, 0.015, 0.022, 0.024, 0.018, 0.018, 0.011, 0.012, 0.01, 0.005, 0.017, 0.043, 0.026, 0.026, 0.009, 0.007, 0.006, 0.004, 0.01, 0.015, 0.029}; 
	 public static double[] phase_dish_E7 = new double[] {3.8, 4.2, 3.8, 4.4, 6.1, 0.3, 0.9, 1.4, 0.2, 6.1, 6, 6, 0, 6, 0.9, 0, 5.2, 4.9, 4.4, 4.9, 4.4, 4.7, 4.5, 4.8, 4.7, 5, 4.8, 5, 4.7, 4.3, 4.4, 4.7, 4.8, 4.7, 4.6, 4.8, 4.7, 4.7, 4.6, 4.5, 4.3, 3.6, 3.8, 3.4, 4.1, 3.9, 3.2, 3.7}; 
	 public static double[] const_dish_E7 = new double[] {0.085, 0.092, 0.12, 0.157, 0.166, 0.095, 0.081, 0.061, 0.073, 0.097, 0.102, 0.015, 0.012, 0.018, 0.048, 0.067, 0.087, 0.075, 0.087, 0.106, 0.112, 0.11, 0.091, 0.062, 0.068, 0.064, 0.061, 0.076, 0.1, 0.115, 0.087, 0.062, 0.048, 0.043, 0.04, 0.037, 0.046, 0.058, 0.1, 0.117, 0.125, 0.098, 0.07, 0.048, 0.047, 0.065, 0.12, 0.12}; 
	 public static double[] stddev_dish_E7 = new double[] {0.128, 0.125, 0.119, 0.15, 0.146, 0.108, 0.118, 0.094, 0.097, 0.109, 0.11, 0.05, 0.051, 0.061, 0.109, 0.123, 0.134, 0.121, 0.141, 0.151, 0.151, 0.145, 0.141, 0.107, 0.125, 0.124, 0.112, 0.126, 0.15, 0.17, 0.144, 0.127, 0.114, 0.097, 0.094, 0.089, 0.1, 0.112, 0.149, 0.155, 0.152, 0.138, 0.124, 0.106, 0.102, 0.12, 0.146, 0.151}; 

	 
	 // From misc.m
	public static double[] scale_misc_wkdays= new double[] {0.067, 0.056, 0.044, 0.044, 0.044, 0.041, 0.038, 0.035, 0.03, 0.039, 0.053, 0.046, 0.045, 0.062, 0.062, 0.083, 0.09, 0.084, 0.092, 0.092, 0.1, 0.099, 0.096, 0.103, 0.099, 0.092, 0.099, 0.097, 0.098, 0.108, 0.11, 0.123, 0.138, 0.149, 0.13, 0.148, 0.15, 0.151, 0.141, 0.142, 0.131, 0.14, 0.14, 0.11, 0.117, 0.101, 0.09, 0.071};
	public static double[] phase_misc_wkdays= new double[] {5.1, 5.1, 5.2, 5.3, 5.3, 5.3, 5.2, 5.2, 5.2, 5.2, 5.3, 5.1, 5.1, 5.3, 5.3, 5.3, 5.1, 5.3, 5.2, 5.1, 5.2, 5.3, 5, 5.1, 5.2, 5.1, 5.2, 5.3, 5.2, 5.3, 5.2, 5.2, 5.2, 5.2, 4.8, 4.8, 4.8, 5, 5.1, 5, 4.9, 5, 4.9, 5, 5, 5, 4.9, 5};
	public static double[] const_misc_wkdays= new double[] {0.154, 0.128, 0.118, 0.11, 0.1, 0.103, 0.106, 0.107, 0.107, 0.125, 0.121, 0.128, 0.173, 0.257, 0.345, 0.4, 0.374, 0.356, 0.345, 0.332, 0.314, 0.295, 0.29, 0.274, 0.28, 0.251, 0.278, 0.287, 0.29, 0.296, 0.312, 0.33, 0.384, 0.438, 0.44, 0.476, 0.459, 0.444, 0.419, 0.398, 0.395, 0.393, 0.395, 0.359, 0.336, 0.288, 0.232, 0.191};
	public static double[] stddev_misc_wkdays= new double[] {0.038, 0.032, 0.027, 0.022, 0.023, 0.02, 0.02, 0.019, 0.021, 0.02, 0.026, 0.025, 0.031, 0.038, 0.048, 0.059, 0.069, 0.064, 0.063, 0.073, 0.079, 0.084, 0.091, 0.096, 0.1, 0.099, 0.091, 0.094, 0.087, 0.077, 0.075, 0.079, 0.084, 0.094, 0.107, 0.106, 0.106, 0.089, 0.085, 0.078, 0.068, 0.068, 0.057, 0.056, 0.058, 0.055, 0.051, 0.041};
	public static double[] scale_misc_mon= new double[] {0.046, 0.044, 0.04, 0.036, 0.045, 0.037, 0.038, 0.033, 0.033, 0.033, 0.044, 0.04, 0.05, 0.071, 0.067, 0.072, 0.077, 0.077, 0.077, 0.085, 0.095, 0.099, 0.084, 0.099, 0.107, 0.088, 0.101, 0.106, 0.079, 0.078, 0.105, 0.123, 0.117, 0.121, 0.126, 0.127, 0.127, 0.131, 0.147, 0.134, 0.107, 0.104, 0.107, 0.117, 0.102, 0.091, 0.074, 0.068};
	public static double[] phase_misc_mon= new double[] {5.2, 5.2, 5.3, 5.4, 5.6, 5.8, 5.3, 5.4, 5.3, 5.1, 5.3, 5.3, 5.1, 5.1, 5, 5.1, 409, 5.2, 5.1, 5, 4.7, 4.9, 4.8, 4.9, 5.1, 4.9, 4.8, 5.1, 5.2, 5.2, 5.1, 5.2, 5, 5.1, 4.9, 5.1, 5.2, 5.1, 5.1, 5.1, 5.1, 5.2, 4.9, 5, 5.1, 5.3, 5.3, 5.1};
	public static double[] const_misc_mon= new double[] {0.154, 0.13, 0.114, 0.108, 0.095, 0.091, 0.102, 0.103, 0.102, 0.122, 0.118, 0.127, 0.172, 0.25, 0.324, 0.368, 0.355, 0.324, 0.314, 0.333, 0.326, 0.32, 0.299, 0.273, 0.293, 0.258, 0.281, 0.289, 0.291, 0.288, 0.31, 0.325, 0.365, 0.437, 0.442, 0.466, 0.444, 0.427, 0.4, 0.403, 0.397, 0.391, 0.387, 0.356, 0.337, 0.282, 0.22, 0.172};
	public static double[] stddev_misc_mon= new double[] {0.038, 0.022, 0.02, 0.02, 0.018, 0.021, 0.018, 0.017, 0.018, 0.018, 0.023, 0.026, 0.03, 0.053, 0.059, 0.077, 0.065, 0.076, 0.072, 0.062, 0.078, 0.07, 0.087, 0.089, 0.073, 0.064, 0.079, 0.073, 0.058, 0.072, 0.064, 0.074, 0.09, 0.098, 0.088, 0.09, 0.092, 0.095, 0.085, 0.064, 0.064, 0.075, 0.07, 0.06, 0.06, 0.052, 0.053, 0.036};
	public static double[] scale_misc_sat= new double[] {0.066, 0.056, 0.04, 0.04, 0.034, 0.04, 0.037, 0.04, 0.037, 0.033, 0.036, 0.039, 0.048, 0.049, 0.051, 0.056, 0.083, 0.068, 0.109, 0.11, 0.146, 0.158, 0.137, 0.108, 0.125, 0.131, 0.112, 0.107, 0.106, 0.1, 0.108, 0.102, 0.103, 0.155, 0.156, 0.153, 0.143, 0.149, 0.138, 0.137, 0.118, 0.108, 0.117, 0.103, 0.094, 0.093, 0.082, 0.065};
	public static double[] phase_misc_sat= new double[] {5.1, 5.2, 5.2, 5.1, 5.4, 5.3, 5.3, 5.3, 5.3, 5.1, 5.2, 5.2, 5.2, 5.4, 5.1, 5.5, 5.5, 5.2, 5, 5.2, 4.9, 5.1, 5, 5.1, 4.9, 5, 5.1, 5.1, 5.2, 5.4, 5.3, 5.1, 5, 4.9, 4.9, 5, 4.8, 4.8, 5, 5.1, 5, 4.9, 4.9, 4.9, 4.9, 5.1, 5, 5.2};
	public static double[] const_misc_sat= new double[] {0.173, 0.148, 0.129, 0.12, 0.109, 0.107, 0.107, 0.107, 0.114, 0.126, 0.129, 0.124, 0.134, 0.193, 0.284, 0.32, 0.359, 0.4, 0.4, 0.395, 0.36, 0.326, 0.312, 0.269, 0.275, 0.259, 0.294, 0.295, 0.303, 0.304, 0.313, 0.316, 0.347, 0.387, 0.483, 0.458, 0.415, 0.409, 0.41, 0.408, 0.406, 0.375, 0.368, 0.342, 0.309, 0.282, 0.245, 0.195};
	public static double[] stddev_misc_sat= new double[] {0.036, 0.032, 0.029, 0.022, 0.023, 0.023, 0.02, 0.018, 0.02, 0.022, 0.02, 0.02, 0.035, 0.029, 0.046, 0.051, 0.058, 0.062, 0.079, 0.065, 0.099, 0.096, 0.09, 0.083, 0.084, 0.094, 0.089, 0.077, 0.072, 0.077, 0.079, 0.077, 0.074, 0.089, 0.101, 0.106, 0.104, 0.09, 0.072, 0.059, 0.065, 0.067, 0.059, 0.055, 0.057, 0.05, 0.048, 0.05};
	public static double[] scale_misc_sun= new double[] {0.06, 0.045, 0.042, 0.046, 0.038, 0.044, 0.034, 0.032, 0.025, 0.036, 0.038, 0.039, 0.047, 0.04, 0.039, 0.054, 0.079, 0.1, 0.103, 0.102, 0.099, 0.121, 0.131, 0.134, 0.115, 0.118, 0.129, 0.12, 0.117, 0.109, 0.131, 0.118, 0.108, 0.115, 0.111, 0.112, 0.129, 0.157, 0.129, 0.12, 0.106, 0.098, 0.122, 0.096, 0.104, 0.091, 0.089, 0.058};
	public static double[] phase_misc_sun= new double[] {5.1, 5, 5.1, 5.2, 5.4, 5.5, 5.3, 5.2, 5.3, 5.3, 5.1, 5.1, 5.4, 5.2, 5.3, 5.3, 5.5, 5.3, 5.2, 5.3, 5.2, 5.2, 5.2, 5.3, 5.1, 5, 5.1, 5.1, 5.1, 5.3, 5.3, 5.2, 5.3, 5.2, 4.8, 5.1, 5.1, 5, 5, 5.2, 5.1, 5.1, 5, 5, 5.1, 5.2, 5.2, 5.2};
	public static double[] const_misc_sun= new double[] {0.172, 0.144, 0.121, 0.11, 0.096, 0.098, 0.105, 0.105, 0.104, 0.12, 0.116, 0.116, 0.12, 0.158, 0.223, 0.279, 0.33, 0.376, 0.4, 0.429, 0.42, 0.423, 0.462, 0.458, 0.469, 0.459, 0.445, 0.436, 0.402, 0.399, 0.393, 0.377, 0.372, 0.393, 0.402, 0.427, 0.402, 0.41, 0.405, 0.384, 0.387, 0.374, 0.366, 0.335, 0.327, 0.29, 0.229, 0.181};
	public static double[] stddev_misc_sun= new double[] {0.045, 0.039, 0.038, 0.032, 0.024, 0.026, 0.021, 0.018, 0.02, 0.019, 0.021, 0.023, 0.025, 0.027, 0.034, 0.037, 0.05, 0.053, 0.063, 0.064, 0.081, 0.094, 0.081, 0.092, 0.105, 0.101, 0.1, 0.084, 0.088, 0.066, 0.077, 0.062, 0.07, 0.088, 0.12, 0.097, 0.099, 0.078, 0.081, 0.083, 0.065, 0.068, 0.061, 0.062, 0.057, 0.046, 0.052, 0.045};

	// from heat.m

	public static double[] min_heat=new double[] {0.011, 0.111, 0.096, 0.041, 0.026, 0.019, 0.017, 0.017, 0.014, 0.017, 0.017, 0.02, 0.02, 0.02, 0.02, 0.001, 0.006, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0.12};
	public static double[] max_heat=new double[] {0.115, 0.683, 0.872, 0.906, 0.838, 0.789, 0.721, 0.669, 0.619, 0.549, 0.484, 0.432, 0.378, 0.348, 0.345, 0.161, 0.082, 0.025, 0.017, 0.011, 0.012, 0.014, 0.017, 0.024, 0.025, 0.025, 0.025, 0.025, 0.024, 0.021, 0.02, 0.018, 0.015, 0.012, 0.01, 0.007, 0.006, 0.003, 0.003, 0.004, 0.004, 0.004, 0.005, 0.015, 0.047, 0.063, 0.066, 0.26};
	public static double[] scale_heat=new double[] {0.162, 0.43, 0.576, 0.639, 0.614, 0.598, 0.552, 0.49, 0.458, 0.436, 0.374, 0.32, 0.302, 0.25, 0.206, 0.131, 0.108, 0.108, 0.109, 0.109, 0.109, 0.109, 0.109, 0.109, 0.109, 0.109, 0.109, 0.109, 0.109, 0.109, 0.109, 0.109, 0.109, 0.109, 0.109, 0.109, 0.109, 0.109, 0.109, 0.109, 0.109, 0.109, 0.109, 0.109, 0.109, 0.106, 0.11, 0.107};
	public static double[] phase_heat=new double[] {5.2, 5.3, 5.2, 5.2, 5.2, 5.2, 5.2, 5.2, 5.2, 5.2, 5.2, 5.2, 5.2, 5.2, 5.2, 5.3, 5.2, 5.2, 5.2, 5.2, 5.2, 5.2, 5.2, 5.2, 5.2, 5.2, 5.2, 5.2, 5.2, 5.2, 5.2, 5.2, 5.2, 5.2, 5.2, 5.2, 5.2, 5.2, 5.2, 5.2, 5.2, 5.2, 5.2, 5.2, 5.2, 5.2, 5.2, 5.2};
	public static double[] const_heat=new double[] {0.112, 0.483, 0.581, 0.549, 0.473, 0.416, 0.362, 0.323, 0.282, 0.242, 0.212, 0.194, 0.185, 0.169, 0.155, 0.059, 0.011, 0.011, 0.053, 0.053, 0.053, 0.053, 0.059, 0.059, 0.059, 0.059, 0.059, 0.059, 0.059, 0.059, 0.059, 0.059, 0.059, 0.059, 0.06, 0.06, 0.06, 0.06, 0.06, 0.06, 0.06, 0.06, 0.06, 0.06, 0.086, 0.089, 0.089, 0.072};
	public static double[] stddev_heat=new double[] {0.027, 0.05, 0.063, 0.065, 0.065, 0.071, 0.072, 0.073, 0.07, 0.067, 0.06, 0.05, 0.046, 0.037, 0.04, 0.018, 0.013, 0.012, 0.013, 0.011, 0.014, 0.018, 0.021, 0.022, 0.022, 0.023, 0.021, 0.02, 0.018, 0.018, 0.017, 0.015, 0.013, 0.011, 0.01, 0.009, 0.007, 0.006, 0.005, 0.007, 0.007, 0.009, 0.011, 0.013, 0.027, 0.025, 0.023, 0.023};

	// from water.m
	public static double[] scale_water_UR= new double[] {0, 0, 0.002, 0.005, 0, 0.009, 0.004, 0.008, 0.005, 0, 0.088, 0.016, 0.021, 0.016, 0.008, 0.01, 0.019, 0.01, 0.014, 0.039, 0.041, 0.019, 0.003, 0.007, 0.021, 0.015, 0.011, 0.012, 0, 0, 0.013, 0.076, 0.037, 0.012, 0.032, 0.033, 0.041, 0.037, 0.034, 0.029, 0.033, 0.026, 0.01, 0.007, 0, 0.008, 0.01, 0.007};
	public static double[] phase_water_UR= new double[] {0, 0, 4, 3.1, 0, 3.1, 3.1, 3.4, 3.4, 0, 2.6, 1.6, 2.2, 1.2, 0.1, 5, 3.7, 3.7, 4.5, 4.4, 4.2, 4.2, 3.7, 2.7, 2.7, 2.1, 3.2, 2.7, 0, 0, 3.4, 2.9, 2.8, 2.4, 2.1, 2.3, 2.2, 2.1, 2.2, 2.6, 3.1, 2.6, 2.6, 3, 0, 3.9, 4.6, 4.7};
	public static double[] const_water_UR= new double[] {0.041, 0.042, 0.041, 0.043, 0.04, 0.038, 0.034, 0.043, 0.043, 0.057, 0.112, 0.092, 0.112, 0.145, 0.115, 0.161, 0.129, 0.132, 0.113, 0.108, 0.094, 0.078, 0.063, 0.066, 0.064, 0.067, 0.063, 0.061, 0.063, 0.065, 0.059, 0.109, 0.092, 0.081, 0.08, 0.094, 0.108, 0.097, 0.081, 0.086, 0.083, 0.077, 0.061, 0.063, 0.059, 0.057, 0.051, 0.05};
	public static double[] stddev_water_UR= new double[] {0.058, 0.057, 0.056, 0.058, 0.053, 0.052, 0.052, 0.056, 0.055, 0.062, 0.118, 0.08, 0.109, 0.102, 0.107, 0.14, 0.135, 0.131, 0.121, 0.127, 0.127, 0.1, 0.079, 0.082, 0.089, 0.091, 0.079, 0.076, 0.082, 0.083, 0.073, 0.118, 0.105, 0.093, 0.097, 0.108, 0.113, 0.109, 0.107, 0.111, 0.106, 0.106, 0.082, 0.076, 0.076, 0.071, 0.07, 0.069};

	public static double[] scale_water_E7= new double[] {0.047, 0.026, 0.029, 0.058, 0.128, 0.07, 0.152, 0.061, 0.031, 0.032, 0.049, 0.044, 0.047, 0.029, 0.018, 0.018, 0.013, 0.008, 0.013, 0.011, 0.009, 0.007, 0.007, 0.01, 0.012, 0.013, 0.017, 0.023, 0.028, 0.025, 0.041, 0.033, 0, 0.011, 0.017, 0.019, 0.036, 0.026, 0.006, 0, 0, 0.031, 0.01, 0.028, 0.026, 0.011, 0, 0.01};
	public static double[] phase_water_E7= new double[] {1.1, 2.3, 2.2, 1.3, 2.9, 1.2, 5.9, 1.1, 0.8, 1.7, 1.6, 4.6, 4.7, 0.7, 0, 5.7, 5.2, 5.2, 5.1, 5.1, 0.5, 0.1, 5.5, 5.3, 5.4, 5.3, 5.2, 5.2, 5.1, 5.3, 2.8, 2.8, 0, 0, 1.4, 6, 5, 5, 2.5, 0, 0, 5, 3.7, 3.6, 3.2, 3.4, 0, 4.3};
	public static double[] const_water_E7= new double[] {0.03, 0.182, 0.269, 0.12, 0.338, 0.561, 0.42, 0.185, 0.15, 0.196, 0.209, 0.195, 0.172, 0.165, 0.102, 0.039, 0.032, 0.031, 0.032, 0.03, 0.037, 0.032, 0.028, 0.023, 0.02, 0.019, 0.025, 0.028, 0.032, 0.032, 0.075, 0.078, 0.102, 0.097, 0.092, 0.092, 0.139, 0.157, 0.116, 0.074, 0.083, 0.067, 0.048, 0.038, 0.036, 0.019, 0.008, 0.019};
	public static double[] stddev_water_E7= new double[] {0.028, 0.083, 0.116, 0.061, 0.067, 0.09, 0.116, 0.067, 0.065, 0.067, 0.072, 0.09, 0.09, 0.094, 0.063, 0.035, 0.033, 0.035, 0.038, 0.038, 0.044, 0.043, 0.039, 0.032, 0.035, 0.033, 0.037, 0.039, 0.047, 0.045, 0.075, 0.077, 0.055, 0.067, 0.109, 0.101, 0.115, 0.145, 0.137, 0.096, 0.115, 0.095, 0.065, 0.059, 0.06, 0.041, 0.029, 0.041};

	// from HH_specific.m
	public static double[] water_scale = new double[]{0.6, 0.9, 1.2, 1.4, 1.7, 1.9, 2.2}; // weighting factors that dep} on occupancy
	public static double[] cooking_scale = new double[]{0.53, 0.93, 1.07, 1.08}; //weighting factor that dep}s on occupancy
	public static double[] cool_scale = new double[] {0.59, 0.88, 1.18, 1.24, 1.25};
	public static double[] washing_scale = new double[]{0.55, 0.81, 1.28, 1.55, 1.69, 2.14}; //weighting factor that dep}s on occupancy  based on Mansouri data
	public static double [] wash_scale_social = new double[] {0.93, 0.93, 0.81,1.36, 1.24, 1.10}; // factors for A,B,C1,C2,D and E categories based on Mansouri's wash cycles/week
	public static double [] dry_scale_social = new double[] {1.04, 1.04, 0.76, 1.18, 1.99, 0.76};	
	
	// 2D arrays mapping occupancy to scale for each half hour (also from HH_specific.m)
	public static double [][] light_occ_scale = new double[][]{{1.02, 0.66, 0.561, 1.224},
			{0.73, 0.44, 0.439, 1.171},
			{0.58, 0.52, 0.520, 1.349},
			{0.41, 0.41, 0.478, 1.555},
			{0.42, 0.42, 0.507, 1.494},
			{0.45, 0.45, 0.549, 1.615},
			{0.48, 0.48, 0.630, 1.741},
			{0.40, 0.48, 0.595, 1.587},
			{0.34, 0.42, 0.634, 1.479},
			{0.36, 0.49, 0.670, 1.339},
			{0.42, 0.84, 0.844, 1.266},
			{0.74, 0.82, 0.817, 1.300},
			{0.73, 0.73, 0.732, 1.464},
			{0.50, 0.74, 0.745, 1.655},
			{0.44, 0.74, 0.745, 1.397},
			{0.43, 0.72, 0.859, 1.397},
			{0.39, 0.74, 0.967, 1.354},
			{0.48, 0.90, 1.200, 1.200},
			{0.50, 0.93, 1.262, 1.009},
			{0.53, 0.79, 0.986, 1.000},
			{0.58, 0.78, 1.005, 1.005},
			{0.61, 0.66, 0.979, 1.000},
			{0.65, 0.65, 1.039, 1.039},
			{0.67, 0.67, 1.075, 1.075},
			{0.66, 0.68, 1.067, 1.121},
			{0.65, 0.68, 1.000, 1.135},
			{0.62, 0.62, 0.931, 1.164},
			{0.61, 0.63, 0.884, 1.187},
			{0.58, 0.63, 0.903, 1.255},
			{0.61, 0.63, 0.896, 1.187},
			{0.56, 0.56, 1.000, 0.929},
			{0.67, 0.67, 1.348, 1.348},
			{0.57, 0.65, 1.310, 1.528},
			{0.67, 0.85, 1.279, 1.401},
			{0.69, 0.88, 1.203, 1.342},
			{0.74, 0.93, 1.168, 1.285},
			{0.71, 0.90, 1.113, 1.252},
			{0.72, 0.86, 1.094, 1.208},
			{0.71, 0.81, 1.093, 1.173},
			{0.73, 0.82, 0.984, 1.180},
			{0.73, 0.84, 0.935, 1.186},
			{0.74, 0.86, 0.925, 1.201},
			{0.75, 0.88, 0.938, 1.203},
			{0.74, 0.89, 0.958, 1.170},
			{0.78, 0.87, 0.959, 1.129},
			{0.85, 0.85, 0.853, 1.088},
			{0.90, 0.79, 0.791, 1.159},
			{0.97, 0.83, 0.798, 1.284}};
	public static double[][]light_social_scale = new double[][]{{0.87, 0.87, 0.867, 1.224},
			{0.73, 0.73, 0.732, 1.390},
			{0.67, 0.87, 0.675, 1.446},
			{0.72, 1.08, 0.717, 1.435},
			{0.79, 1.13, 0.705, 1.410},
			{0.65, 1.29, 0.646, 1.453},
			{0.74, 1.30, 0.741, 1.482},
			{0.87, 1.31, 0.873, 1.388},
			{0.89, 1.27, 0.972, 1.479},
			{0.89, 1.21, 1.116, 1.652},
			{1.01, 1.14, 1.139, 1.603},
			{0.93, 1.00, 1.374, 1.448},
			{0.88, 0.88, 1.171, 1.464},
			{0.83, 0.83, 1.655, 0.993},
			{1.12, 0.93, 1.304, 0.838},
			{1.11, 1.04, 1.110, 0.716},
			{1.08, 1.39, 1.083, 0.696},
			{0.96, 1.56, 0.960, 0.840},
			{0.87, 1.35, 0.875, 0.875},
			{0.93, 1.38, 0.986, 1.005},
			{1.01, 1.45, 1.005, 1.117},
			{0.98, 1.27, 0.979, 1.150},
			{0.96, 1.30, 0.961, 1.195},
			{1.05, 1.34, 0.968, 1.210},
			{1.15, 1.31, 0.957, 1.203},
			{1.16, 1.22, 0.946, 1.162},
			{1.19, 1.24, 1.008, 1.138},
			{1.16, 1.26, 1.011, 1.162},
			{1.13, 1.25, 1.029, 1.204},
			{1.14, 1.33, 1.066, 1.211},
			{1.03, 1.28, 1.032, 1.156},
			{1.06, 1.42, 1.064, 1.206},
			{1.05, 1.31, 1.048, 1.048},
			{0.94, 1.22, 1.157, 0.944},
			{1.04, 1.06, 1.157, 0.925},
			{1.07, 1.07, 1.187, 0.876},
			{1.08, 1.08, 1.182, 0.876},
			{1.08, 1.08, 1.159, 0.882},
			{1.09, 1.08, 1.125, 0.842},
			{1.12, 1.08, 1.108, 0.836},
			{1.10, 1.04, 1.129, 0.835},
			{1.11, 1.01, 1.117, 0.841},
			{1.13, 1.01, 1.134, 0.849},
			{1.10, 0.99, 1.107, 0.869},
			{1.11, 0.98, 1.016, 0.847},
			{1.07, 0.98, 0.960, 0.853},
			{1.05, 0.97, 0.922, 0.922},
			{1.01, 1.01, 1.006, 1.006}};
	
	public static 	double[][] light_income_scale = new double[][] {{1.02, 0.97},
		{1.17, 0.99},
		{1.06, 0.93},
		{1.12, 1.00},
		{1.13, 0.99},
		{1.00, 0.81},
		{1.00, 0.81},
		{0.99, 0.87},
		{1.01, 0.97},
		{1.00, 0.98},
		{1.00, 1.00},
		{0.93, 1.00},
		{0.76, 1.02},
		{0.50, 1.24},
		{0.56, 1.44},
		{0.57, 1.43},
		{0.58, 1.35},
		{0.66, 1.44},
		{0.67, 1.01},
		{0.69, 1.01},
		{0.74, 1.05},
		{0.73, 1.10},
		{0.78, 1.12},
		{0.81, 1.10},
		{0.79, 1.12},
		{0.81, 1.16},
		{0.72, 1.16},
		{0.83, 1.09},
		{0.88, 1.05},
		{0.85, 1.02},
		{0.93, 0.99},
		{0.71, 1.06},
		{0.61, 1.05},
		{0.61, 1.07},
		{0.69, 1.02},
		{0.78, 1.17},
		{0.78, 1.22},
		{0.74, 1.22},
		{0.73, 1.22},
		{0.74, 1.21},
		{0.75, 1.20},
		{0.75, 1.13},
		{0.77, 1.12},
		{0.76, 1.10},
		{0.78, 1.02},
		{0.83, 1.00},
		{0.97, 1.00},
		{1.00, 1.00}};
	
	//from one_min_wash.m
	public static double[] trend_year_wash = new double[] {1970, 1990, 1998, 2000, 2005, 2010, 2015, 2020}; 
	public static double[] forty_trend = new double[] {0.30, 0.58, 0.64, 0.66, 0.68, 0.68, 0.68, 0.68}; 
	public static double[] sixty_trend = new double[] {0.45, 0.36, 0.34, 0.32, 0.30, 0.30, 0.30, 0.30}; 
	public static double[] ninety_trend = new double[] {0.25, 0.06, 0.03, 0.03, 0.03, 0.03, 0.03, 0.03}; 
	public static double[]	forty_wash = new double[] {0.05, 0.05, 0.3, 0.3, 2, 2, 2.05, 2.1, 2.1, 2, 2.05, 2, 2.1, 2.05, 0.3, 0.25, 0.1, 0.05, 0.45, 0.3, 0.25, 0.75, 0.05, 0.05, 0.45, 0.3, 0.25	              , 0.75, 0.05, 0.05, 0.45, 0.3, 0.25, 0.75, 0.05, 0.05, 0.05, 0.3, 0.3, 0.1, 0.75, 0.4, 0.4, 0.4, 0.1, 0.1, 0.1, 0.1};

	public static double[] forty_wash_reactive  = new double[] {0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0.216, 0.144, 0.12, 0.36, 0, 0, 0.216, 0.144, 0.12, 0.36, 0, 0, 0.216, 0.144, 0.12, 0.36, 0, 0, 0, 0, 0, 0, 0.36, 0.192, 0.192, 0.192, 0, 0, 0, 0}; 
	// based on forty_wash*0.48 (tan(cos-1(PF of, 0.9 - while spin motor runs)
	public static double[] sixty_wash = new double[] {0.05, 0.05, 0.3, 0.3, 2, 2, 2.05, 2.1, 2, 2.05, 2.05, 2, 2.1, 2.05, 2, 2.05, 2, 2.1, 2, 2.1, 0.1, 0.05, 2, 2.1, 0.3, 0.25, 0.1, 0.05, 0.45, 0.3, 0.25, 0.75, 0.05, 0.05, 0.45, 0.3, 0.25, 0.75, 0.05, 0.05, 0.45, 0.3, 0.25, 0.75, 0.05, 0.05, 0.05, 0.3, 0.3, 0.1, 0.75, 0.4, 0.4, 0.4, 0.1, 0.1, 0.1, 0.1};
	public static double[] sixty_wash_reactive = new double[] {0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0.144, 0.12, 0, 0, 0.216, 0.144, 0.12, 0.36, 0, 0, 0.216, 0.144, 0.12, 0.36, 0, 0, 0.216, 0.144, 0.12, 0.36, 0, 0, 0, 0, 0, 0, 0.36, 0.192, 0.192, 0.192, 0, 0, 0, 0, 0}; 
	public static double[] ninety_wash = new double[] {0.05, 0.05, 0.3, 0.3, 2, 2, 2.05, 2.1, 2, 2.05, 2.05, 2, 2.1, 2.05, 2, 2.05, 2, 2.1, 2, 2.1, 2, 2.05, 2.1, 2.1, 2, 2.05, 2.1, 2, 2.1, 2.05, 2.1, 2, 2.1, 2.05, 2.1, 2, 2, 2.1, 2.05, 2.1, 0.1, 0.05, 2, 2.1, 0.1, 0.05, 2, 2.1, 0.1, 0.05, 2, 2.1, 0.3, 0.25, 0.1, 0.05, 0.45, 0.3, 0.25, 0.75, 0.05, 0.05, 0.45, 0.3, 0.25, 0.75, 0.05, 0.05, 0.45, 0.3, 0.25, 0.75, 0.05, 0.05, 0.05, 0.3, 0.3, 0.1, 0.75, 0.4, 0.4, 0.4, 0.1, 0.1, 0.1, 0.1};
	public static double[] ninety_wash_reactive  = new double[] {0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0.216, 0.144, 0.12, 0.36, 0, 0, 0.216, 0.144, 0.12, 0.36, 0, 0, 0.216, 0.144, 0.12, 0.36, 0, 0, 0, 0, 0, 0, 0.36, 0.192, 0.192, 0.192, 0, 0, 0, 0}; 

	public static double[] dry_event = new double[] {1.901, 2.340, 2.441, 2.326, 2.016, 2.340, 2.441, 2.441, 2.300, 1.941, 2.441, 2.441, 2.415, 2.225, 2.041, 2.441, 2.415, 2.340, 2.326, 2.041, 2.415, 2.340, 2.441, 2.326, 2.016, 2.340, 2.441, 2.441, 2.300, 1.941, 2.441, 2.441, 2.415, 2.225, 2.041, 2.441, 2.415, 2.340, 2.326, 2.041, 2.415, 2.340, 2.441, 2.326, 2.016, 2.340, 2.441, 2.441, 2.300, 1.941, 2.441, 2.441, 2.415, 2.225, 2.041, 2.441, 2.415, 2.340, 2.326, 2.041, 2.415, 2.340, 2.441, 2.326, 2.016, 2.340, 2.441, 2.441, 2.300, 1.941, 2.441, 2.441, 2.415, 2.225, 2.041, 2.441, 2.415, 2.340, 2.326, 2.041, 2.415, 2.340, 2.441, 2.326, 2.016, 2.340, 2.441, 2.441, 2.300, 1.941, 2.441, 2.441, 2.415, 2.225, 2.041, 2.441, 2.415, 2.340, 2.326, 2.041, 2.415, 2.340, 2.441, 2.326, 2.016, 2.340, 2.441, 2.441, 2.300, 1.941, 2.441, 2.441, 2.415, 2.225, 2.041, 2.441, 2.415, 2.340, 2.326, 2.041}; 
	public static double[] dry_event_reactive = new double[] {0.048, 0.144, 0.192, 0.156, 0.084, 0.144, 0.192, 0.192, 0.144, 0.048, 0.192, 0.192, 0.180, 0.108, 0.096, 0.192, 0.180, 0.144, 0.156, 0.096, 0.180, 0.144, 0.192, 0.156, 0.084, 0.144, 0.192, 0.192, 0.144, 0.048, 0.192, 0.192, 0.180, 0.108, 0.096, 0.192, 0.180, 0.144, 0.156, 0.096, 0.180, 0.144, 0.192, 0.156, 0.084, 0.144, 0.192, 0.192, 0.144, 0.048, 0.192, 0.192, 0.180, 0.108, 0.096, 0.192, 0.180, 0.144, 0.156, 0.096, 0.180, 0.144, 0.192, 0.156, 0.084, 0.144, 0.192, 0.192, 0.144, 0.048, 0.192, 0.192, 0.180, 0.108, 0.096, 0.192, 0.180, 0.144, 0.156, 0.096, 0.180, 0.144, 0.192, 0.156, 0.084, 0.144, 0.192, 0.192, 0.144, 0.048, 0.192, 0.192, 0.180, 0.108, 0.096, 0.192, 0.180, 0.144, 0.156, 0.096, 0.180, 0.144, 0.192, 0.156, 0.084, 0.144, 0.192, 0.192, 0.144, 0.048, 0.192, 0.192, 0.180, 0.108, 0.096, 0.192, 0.180, 0.144, 0.156, 0.096};
	//dishwashers
	public static double[] dish_chance  = new double[] {1.337, 0.920, 0.998, 0.677}; 
	//  half-hourly average demand for 4 dishwasher cycles
	public static double[] trend_year_dish = new double[] {1990, 1998, 2000, 2005, 2010, 2015, 2020}; 
	public static double[] dish_temp_trend  = new double[] {0.68 , 0.64 , 0.63 , 0.59 , 0.55 , 0.51 , 0.50}; 
	//  ratio of dish-washes that are at 65deg, rest at 55 deg

	// 76x4 array 
	public static double[][] dish_event=new double[][] {{0, 0, 0, 0},{0, 0, 0, 0},{0.2, 0.2, 0.2, 0.2},{0.2, 0.2, 0.2, 0.2},{0.2, 0.2, 0.2, 0.2},{0.2, 0.2, 0.05, 0.05},{0.1, 0.1, 0, 0},{0, 0, 0.2, 0.2},{0, 0, 0.2, 0.2},{0.2, 0.2, 2.1, 2.1},{2.7, 2.7, 2.1, 2.1},{2.7, 2.7, 2.1, 2.1},{2.7, 2.7, 2.1, 2.1},{2.7, 2.7, 2.1, 2.1},{2.7, 2.7, 2.1, 2.1},{2.7, 2.7, 2.1, 2.1},{2.7, 2.7, 2.1, 2.1},{2.7, 2.7, 2.1, 0.2},{2.7, 2.7, 2.1, 0.2},{2.7, 0.2, 2.1, 0.2},{2.7, 0.2, 2.1, 0.2},{2.7, 0.2, 2.1, 0.2},{2.7, 0.2, 0.2, 0.2},{2.7, 0.2, 0.2, 0.2},{0.2, 0.2, 0.2, 0.2},{0.2, 0.2, 0.2, 0.2},{0.2, 0.2, 0.2, 0.2},{0.2, 0.2, 0.2, 0.05},{0.2, 0.2, 0.2, 0.2},{0.2, 0.2, 0.2, 0.2},{0.2, 0.2, 0.2, 0.2},{0.2, 0.1, 0.2, 0.2},{0.2, 0, 0.05, 0},{0.2, 0, 0.2, 0.2},{0.2, 0, 0.2, 0.2},{0.2, 0.2, 0.2, 0.2},{0.1, 0.2, 0.2, 0.05},{0, 0.1, 0, 0},{0, 0.1, 0.2, 0.2},{0, 0, 0.2, 0.2},{0.2, 0.2, 0.2, 2.1},{0.2, 0.2, 0.05, 2.1},{0.1, 0.1, 0, 2.1},{0.1, 0.1, 0.2, 2.1},{0, 0, 0.2, 2.15},{0.2, 0.2, 2.1, 2.15},{0.2, 2.7, 2.1, 2.15},{0.1, 2.7, 2.1, 0.2},{0.1, 2.7, 2.1, 0.2},{0, 2.7, 2.15, 0.2},{0.2, 2.7, 2.15, 0.2},{2.7, 2.7, 2.15, 0.2},{2.7, 2.7, 2.15, 0.2},{2.7, 2.7, 2.15, 0.2},{2.7, 2.7, 2.15, 0.05},{2.7, 2.7, 2.15, 0},{2.7, 0.2, 0.2, 0},{2.7, 0.2, 0.2, 2.1},{2.7, 0.2, 0.2, 2.1},{2.7, 0.2, 0.2, 0},{2.7, 0.2, 0.2, 0},{2.7, 0.1, 0.2, 2.1},{2.7, 0.1, 0.2, 2.1},{2.7, 0, 0.05, 0.05},{2.7, 0, 0, 0},{0.2, 0, 0, 0},{0.2, 0, 2.1, 0},{0.2, 0, 2.1, 0},{0.2, 0, 0, 0},{0.2, 0, 0, 0},{0.1, 0, 2.1, 0},{0.1, 0, 2.1, 0},{0, 0, 0.05, 0},{0, 0, 0, 0},{0, 0, 0, 0},{0, 0, 0, 0}};

}
